ip.c | 100 static int filter_nlmesg(int (*fun)(struct nlmsghdr *mhdr, char **), char **); 548 struct nlmsghdr mhdr; member in struct:__anon24554 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:__anon24555 1597 struct nlmsghdr* mhdr = (struct nlmsghdr*)toybuf; local 1621 struct nlmsghdr *mhdr; local 1673 struct nlmsghdr mhdr; member in struct:__anon24559 1728 struct nlmsghdr *mhdr = (struct nlmsghdr*)toybuf; local 1767 struct nlmsghdr mhdr; member in struct:__anon24560 2082 struct nlmsghdr mhdr; member in struct:__anon24563 2683 struct nlmsghdr *mhdr; local [all...] |