ip.c | 100 static int filter_nlmesg(int (*fun)(struct nlmsghdr *mhdr, char **), char **); 548 struct nlmsghdr mhdr; member in struct:__anon33598 578 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); 579 request.mhdr.nlmsg_flags = NLM_F_REQUEST|NLM_F_ACK; 581 request.mhdr.nlmsg_flags |= NLM_F_CREATE|NLM_F_EXCL; 582 request.mhdr.nlmsg_type = RTM_NEWLINK; 584 request.mhdr.nlmsg_type = RTM_DELLINK; 588 attr = NLMSG_TAIL(&request.mhdr); 590 add_string_to_rtattr(&request.mhdr, sizeof(request), 592 add_string_to_rtattr(&request.mhdr, sizeof(request) 912 struct nlmsghdr mhdr; member in struct:__anon33599 1597 struct nlmsghdr* mhdr = (struct nlmsghdr*)toybuf; local 1621 struct nlmsghdr *mhdr; local 1673 struct nlmsghdr mhdr; member in struct:__anon33603 1728 struct nlmsghdr *mhdr = (struct nlmsghdr*)toybuf; local 1767 struct nlmsghdr mhdr; member in struct:__anon33604 2082 struct nlmsghdr mhdr; member in struct:__anon33607 2683 struct nlmsghdr *mhdr; local [all...] |