Home | History | Annotate | Download | only in ninfod

Lines Matching defs:nlh

96 	struct nlmsghdr *nlh;
220 struct nlmsghdr *nlh = NULL;
230 status = nl_getmsg(sd, request, seq, &nlh, &done);
233 if (nlh) {
237 free(nlh);
242 nlm_next->nlh = (struct nlmsghdr *) nlh;
268 if(nlm->nlh)
269 free(nlm->nlh);
353 struct nlmsghdr *nlh, *nlh0;
383 if (!(nlh0 = nlm->nlh))
385 for (nlh = nlh0; NLMSG_OK(nlh, nlmlen); nlh = NLMSG_NEXT(nlh, nlmlen)) {
400 if (nlh->nlmsg_pid != pid || nlh->nlmsg_seq != nlm->seq)
402 if (nlh->nlmsg_type == NLMSG_DONE) {
405 switch (nlh->nlmsg_type) {
407 ifam = (struct ifaddrmsg *) NLMSG_DATA(nlh);
432 rtasize = NLMSG_PAYLOAD(nlh, nlmlen) - NLMSG_ALIGN(nlm_struct_size);
433 for (rta = (struct rtattr *) (((char *) NLMSG_DATA(nlh)) +
440 switch (nlh->nlmsg_type) {
486 if (nlh->nlmsg_type == RTM_NEWADDR && nlm_family != AF_PACKET) {