Lines Matching refs:nlmsg_list
94 struct nlmsg_list { struct
95 struct nlmsg_list *nlm_next; argument
218 static int nl_getlist(int sd, int seq, int request, struct nlmsg_list **nlm_list, struct nlmsg_list… in nl_getlist()
234 struct nlmsg_list *nlm_next = (struct nlmsg_list *) malloc(sizeof(struct nlmsg_list)); in nl_getlist()
259 static void free_nlmsglist(struct nlmsg_list *nlm0) in free_nlmsglist()
261 struct nlmsg_list *nlm, *nlm_next; in free_nlmsglist()
316 struct nlmsg_list *nlmsg_list, *nlmsg_end, *nlm; in ni_ifaddrs() local
330 nlmsg_list = nlmsg_end = NULL; in ni_ifaddrs()
343 if ((seq = nl_getlist(sd, seq + 1, RTM_GETADDR, &nlmsg_list, &nlmsg_end)) < 0) { in ni_ifaddrs()
344 free_nlmsglist(nlmsg_list); in ni_ifaddrs()
381 for (nlm = nlmsg_list; nlm; nlm = nlm->nlm_next) { in ni_ifaddrs()
533 free_nlmsglist(nlmsg_list); in ni_ifaddrs()