Searched refs:nlm (Results 1 – 3 of 3) sorted by relevance
/external/dhcpcd/ |
D | if-linux.c | 156 struct nlmsghdr *nlm; in get_netlink() local 195 for (nlm = (struct nlmsghdr *)buf; in get_netlink() 196 NLMSG_OK(nlm, (size_t)bytes); in get_netlink() 197 nlm = NLMSG_NEXT(nlm, bytes)) in get_netlink() 199 r = callback(nlm); in get_netlink() 211 err_netlink(struct nlmsghdr *nlm) in err_netlink() argument 216 if (nlm->nlmsg_type != NLMSG_ERROR) in err_netlink() 218 l = nlm->nlmsg_len - sizeof(*nlm); in err_netlink() 223 err = (struct nlmsgerr *)NLMSG_DATA(nlm); in err_netlink() 231 link_route(struct nlmsghdr *nlm) in link_route() argument [all …]
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 261 struct nlmsg_list *nlm, *nlm_next; in free_nlmsglist() local 266 nlm = nlm0; in free_nlmsglist() 267 while(nlm) { in free_nlmsglist() 268 if(nlm->nlh) in free_nlmsglist() 269 free(nlm->nlh); in free_nlmsglist() 270 nlm_next = nlm->nlm_next; in free_nlmsglist() 271 free(nlm); in free_nlmsglist() 272 nlm = nlm_next; in free_nlmsglist() 316 struct nlmsg_list *nlmsg_list, *nlmsg_end, *nlm; in ni_ifaddrs() local 381 for (nlm = nlmsg_list; nlm; nlm = nlm->nlm_next) { in ni_ifaddrs() [all …]
|
/external/toybox/toys/pending/ |
D | ip.c | 1069 struct nlmsghdr nlm; in ipaddrupdate() member 1080 req.nlm.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); in ipaddrupdate() 1081 req.nlm.nlmsg_flags = NLM_F_REQUEST|NLM_F_ACK; in ipaddrupdate() 1082 req.nlm.nlmsg_type = cmd; in ipaddrupdate() 1104 add_string_to_rtattr(&req.nlm, sizeof(req), in ipaddrupdate() 1125 add_string_to_rtattr(&req.nlm, sizeof(req), in ipaddrupdate() 1131 add_string_to_rtattr(&req.nlm, sizeof(req), in ipaddrupdate() 1144 add_string_to_rtattr(&req.nlm, sizeof(req), in ipaddrupdate() 1171 add_string_to_rtattr(&req.nlm, sizeof(req), in ipaddrupdate() 1183 add_string_to_rtattr(&req.nlm, sizeof(req), in ipaddrupdate() [all …]
|