Searched refs:rtgenmsg (Results 1 – 13 of 13) sorted by relevance
62 struct rtgenmsg g; in ipnetns_have_nsid()69 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtgenmsg)); in ipnetns_have_nsid()97 struct rtgenmsg g; in get_netnsid_from_name()101 struct rtgenmsg *rthdr; in get_netnsid_from_name()105 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtgenmsg)); in get_netnsid_from_name()261 struct rtgenmsg *rthdr = NLMSG_DATA(n); in print_nsid()683 struct rtgenmsg g; in set_netnsid_from_name()689 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtgenmsg)); in set_netnsid_from_name()
47 struct rtgenmsg *gen; in netlink_list_items()54 n->nlmsg_len = NLMSG_LENGTH(sizeof(struct rtgenmsg)); in netlink_list_items()60 memset(gen, 0, sizeof(struct rtgenmsg)); in netlink_list_items()
115 char reqbuf[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + NLMSG_ALIGN(sizeof(struct rtgenmsg))]; in nl_sendreq()118 struct rtgenmsg *req_msg; in nl_sendreq()125 req_msg = (struct rtgenmsg *) NLMSG_DATA(req_hdr); in nl_sendreq()
194 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtgenmsg))))197 #define NETNS_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtgenmsg))
41 struct rtgenmsg gmsg = { in nl_rtgen_request()
127 struct rtgenmsg *rtmsg; in neightbl_msg_parser()792 .co_hdrsize = sizeof(struct rtgenmsg),
135 struct rtgenmsg g; in iface_enumerate()
189 struct rtgenmsg g; in find_interface()
403 struct rtgenmsg struct
461 struct rtgenmsg { struct
463 struct rtgenmsg { struct
218 struct rtgenmsg g; in getifaddrs()
145 struct rtgenmsg g; in send_nlmesg()