/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/bridge/ |
H A D | br_netlink.c | 42 struct nlmsghdr *nlh; local 48 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags); 49 if (nlh == NULL) 52 hdr = nlmsg_data(nlh); 74 return nlmsg_end(skb, nlh); 77 nlmsg_cancel(skb, nlh); 128 cb->nlh->nlmsg_seq, RTM_NEWLINK, 144 static int br_rtm_setlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument 153 if (nlmsg_len(nlh) < sizeof(*ifm)) 156 ifm = nlmsg_data(nlh); [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/netfilter/ |
H A D | nfct_get.c | 20 static int data_cb(const struct nlmsghdr *nlh, void *data) argument 29 nfct_nlmsg_parse(nlh, ct); 45 struct nlmsghdr *nlh; local 74 nlh = mnl_nlmsg_put_header(buf); 75 nlh->nlmsg_type = (NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_GET; 76 nlh->nlmsg_flags = NLM_F_REQUEST|NLM_F_ACK; 77 nlh->nlmsg_seq = seq = time(NULL); 79 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); 107 nfct_nlmsg_build(nlh, ct); 109 ret = mnl_socket_sendto(nl, nlh, nl [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/netfilter_nft/ |
H A D | nfct_get.c | 20 static int data_cb(const struct nlmsghdr *nlh, void *data) argument 29 nfct_nlmsg_parse(nlh, ct); 45 struct nlmsghdr *nlh; local 74 nlh = mnl_nlmsg_put_header(buf); 75 nlh->nlmsg_type = (NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_GET; 76 nlh->nlmsg_flags = NLM_F_REQUEST|NLM_F_ACK; 77 nlh->nlmsg_seq = seq = time(NULL); 79 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); 107 nfct_nlmsg_build(nlh, ct); 109 ret = mnl_socket_sendto(nl, nlh, nl [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/ipv4/ |
H A D | inet_diag.c | 82 struct nlmsghdr *nlh; local 91 nlh = NLMSG_PUT(skb, pid, seq, unlh->nlmsg_type, sizeof(*r)); 92 nlh->nlmsg_flags = nlmsg_flags; 94 r = NLMSG_DATA(nlh); 172 nlh->nlmsg_len = skb_tail_pointer(skb) - b; 189 struct nlmsghdr *nlh = NLMSG_PUT(skb, pid, seq, local 192 r = NLMSG_DATA(nlh); 195 nlh->nlmsg_flags = nlmsg_flags; 228 nlh->nlmsg_len = skb_tail_pointer(skb) - previous_tail; 247 const struct nlmsghdr *nlh) 246 inet_diag_get_exact(struct sk_buff *in_skb, const struct nlmsghdr *nlh) argument 568 struct nlmsghdr *nlh; local 848 inet_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/ipv4/ |
H A D | inet_diag.c | 82 struct nlmsghdr *nlh; local 91 nlh = NLMSG_PUT(skb, pid, seq, unlh->nlmsg_type, sizeof(*r)); 92 nlh->nlmsg_flags = nlmsg_flags; 94 r = NLMSG_DATA(nlh); 172 nlh->nlmsg_len = skb_tail_pointer(skb) - b; 189 struct nlmsghdr *nlh = NLMSG_PUT(skb, pid, seq, local 192 r = NLMSG_DATA(nlh); 195 nlh->nlmsg_flags = nlmsg_flags; 228 nlh->nlmsg_len = skb_tail_pointer(skb) - previous_tail; 247 const struct nlmsghdr *nlh) 246 inet_diag_get_exact(struct sk_buff *in_skb, const struct nlmsghdr *nlh) argument 568 struct nlmsghdr *nlh; local 848 inet_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/xfrm/ |
H A D | xfrm_user.c | 481 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, argument 485 struct xfrm_usersa_info *p = nlmsg_data(nlh); 502 if (nlh->nlmsg_type == XFRM_MSG_NEWSA) 515 c.seq = nlh->nlmsg_seq; 516 c.pid = nlh->nlmsg_pid; 517 c.event = nlh->nlmsg_type; 559 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, argument 566 struct xfrm_usersa_id *p = nlmsg_data(nlh); 588 c.seq = nlh->nlmsg_seq; 589 c.pid = nlh 709 struct nlmsghdr *nlh; local 798 struct nlmsghdr *nlh; local 827 xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 858 struct nlmsghdr *nlh; local 882 xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 901 xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 948 xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1244 xfrm_add_policy(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1367 struct nlmsghdr *nlh; local 1450 xfrm_get_policy(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1532 xfrm_flush_sa(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1573 struct nlmsghdr *nlh; local 1608 xfrm_get_ae(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1646 xfrm_new_ae(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1690 xfrm_flush_policy(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1722 xfrm_add_pol_expire(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1789 xfrm_add_sa_expire(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1826 xfrm_add_acquire(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1930 xfrm_do_migrate(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1961 xfrm_do_migrate(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 2014 struct nlmsghdr *nlh; local 2151 xfrm_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument 2205 struct nlmsghdr *nlh; local 2260 struct nlmsghdr *nlh; local 2315 struct nlmsghdr *nlh; local 2406 struct nlmsghdr *nlh; local 2529 struct nlmsghdr *nlh; local 2576 struct nlmsghdr *nlh; local 2639 struct nlmsghdr *nlh; local 2691 struct nlmsghdr *nlh; local 2735 struct nlmsghdr *nlh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/xfrm/ |
H A D | xfrm_user.c | 481 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, argument 485 struct xfrm_usersa_info *p = nlmsg_data(nlh); 502 if (nlh->nlmsg_type == XFRM_MSG_NEWSA) 515 c.seq = nlh->nlmsg_seq; 516 c.pid = nlh->nlmsg_pid; 517 c.event = nlh->nlmsg_type; 559 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, argument 566 struct xfrm_usersa_id *p = nlmsg_data(nlh); 588 c.seq = nlh->nlmsg_seq; 589 c.pid = nlh 709 struct nlmsghdr *nlh; local 798 struct nlmsghdr *nlh; local 827 xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 858 struct nlmsghdr *nlh; local 882 xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 901 xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 948 xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1244 xfrm_add_policy(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1367 struct nlmsghdr *nlh; local 1450 xfrm_get_policy(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1532 xfrm_flush_sa(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1573 struct nlmsghdr *nlh; local 1608 xfrm_get_ae(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1646 xfrm_new_ae(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1690 xfrm_flush_policy(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1722 xfrm_add_pol_expire(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1789 xfrm_add_sa_expire(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1826 xfrm_add_acquire(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1930 xfrm_do_migrate(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 1961 xfrm_do_migrate(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attrs) argument 2014 struct nlmsghdr *nlh; local 2151 xfrm_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument 2205 struct nlmsghdr *nlh; local 2260 struct nlmsghdr *nlh; local 2315 struct nlmsghdr *nlh; local 2406 struct nlmsghdr *nlh; local 2529 struct nlmsghdr *nlh; local 2576 struct nlmsghdr *nlh; local 2639 struct nlmsghdr *nlh; local 2691 struct nlmsghdr *nlh; local 2735 struct nlmsghdr *nlh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/net/ |
H A D | genetlink.h | 128 struct nlmsghdr *nlh; local 131 nlh = nlmsg_put(skb, pid, seq, family->id, GENL_HDRLEN + 133 if (nlh == NULL) 136 hdr = nlmsg_data(nlh); 257 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - local 259 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN);
|
H A D | rtnetlink.h | 17 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) argument 19 if (nlmsg_len(nlh) >= sizeof(struct rtgenmsg)) 20 return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/net/ |
H A D | genetlink.h | 128 struct nlmsghdr *nlh; local 131 nlh = nlmsg_put(skb, pid, seq, family->id, GENL_HDRLEN + 133 if (nlh == NULL) 136 hdr = nlmsg_data(nlh); 257 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - local 259 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN);
|
H A D | rtnetlink.h | 17 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) argument 19 if (nlmsg_len(nlh) >= sizeof(struct rtgenmsg)) 20 return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/connector/ |
H A D | connector.c | 70 struct nlmsghdr *nlh; local 103 nlh = NLMSG_PUT(skb, 0, msg->seq, NLMSG_DONE, size - sizeof(*nlh)); 105 data = NLMSG_DATA(nlh); 180 struct nlmsghdr *nlh; local 187 nlh = nlmsg_hdr(skb); 189 if (nlh->nlmsg_len < sizeof(struct cn_msg) || 190 skb->len < nlh->nlmsg_len || 191 nlh->nlmsg_len > CONNECTOR_MAX_MSG_SIZE) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/connector/ |
H A D | connector.c | 70 struct nlmsghdr *nlh; local 103 nlh = NLMSG_PUT(skb, 0, msg->seq, NLMSG_DONE, size - sizeof(*nlh)); 105 data = NLMSG_DATA(nlh); 180 struct nlmsghdr *nlh; local 187 nlh = nlmsg_hdr(skb); 189 if (nlh->nlmsg_len < sizeof(struct cn_msg) || 190 skb->len < nlh->nlmsg_len || 191 nlh->nlmsg_len > CONNECTOR_MAX_MSG_SIZE) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/kernel/ |
H A D | audit.c | 167 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); local 168 nlh->nlmsg_pid = pid; 376 * For one reason or another this nlh isn't getting delivered to the userspace 381 struct nlmsghdr *nlh = nlmsg_hdr(skb); local 382 char *data = NLMSG_DATA(nlh); 384 if (nlh->nlmsg_type != AUDIT_EOE) { 386 printk(KERN_NOTICE "type=%d %s\n", nlh->nlmsg_type, data); 512 struct nlmsghdr *nlh; local 521 nlh = NLMSG_NEW(skb, pid, seq, t, size, flags); 522 data = NLMSG_DATA(nlh); 651 audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument 933 struct nlmsghdr *nlh; local 1043 struct nlmsghdr *nlh; local 1468 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/kernel/ |
H A D | audit.c | 167 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); local 168 nlh->nlmsg_pid = pid; 376 * For one reason or another this nlh isn't getting delivered to the userspace 381 struct nlmsghdr *nlh = nlmsg_hdr(skb); local 382 char *data = NLMSG_DATA(nlh); 384 if (nlh->nlmsg_type != AUDIT_EOE) { 386 printk(KERN_NOTICE "type=%d %s\n", nlh->nlmsg_type, data); 512 struct nlmsghdr *nlh; local 521 nlh = NLMSG_NEW(skb, pid, seq, t, size, flags); 522 data = NLMSG_DATA(nlh); 651 audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument 933 struct nlmsghdr *nlh; local 1043 struct nlmsghdr *nlh; local 1468 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant/src/drivers/ |
H A D | priv_netlink.h | 57 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0)))
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant/src/drivers/ |
H A D | priv_netlink.h | 57 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0)))
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/src/drivers/ |
H A D | priv_netlink.h | 57 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0)))
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/netfilter/ |
H A D | nf_conntrack_netlink.c | 355 struct nlmsghdr *nlh; local 361 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*nfmsg), flags); 362 if (nlh == NULL) 365 nfmsg = nlmsg_data(nlh); 401 nlmsg_end(skb, nlh); 406 nlmsg_cancel(skb, nlh); 473 struct nlmsghdr *nlh; local 508 nlh = nlmsg_put(skb, item->pid, 0, type, sizeof(*nfmsg), flags); 509 if (nlh == NULL) 512 nfmsg = nlmsg_data(nlh); 820 ctnetlink_del_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 886 ctnetlink_get_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1395 ctnetlink_new_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1594 struct nlmsghdr *nlh; local 1626 struct nlmsghdr *nlh; local 1739 ctnetlink_get_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1806 ctnetlink_del_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1953 ctnetlink_new_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument [all...] |
H A D | nfnetlink.c | 126 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument 137 if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(struct nfgenmsg))) 140 type = nlh->nlmsg_type; 160 u_int8_t cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type); 162 struct nlattr *attr = (void *)nlh + min_len; 163 int attrlen = nlh->nlmsg_len - min_len; 170 err = nc->call(net->nfnl, skb, nlh, (const struct nlattr **)cda);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/networking/libiproute/ |
H A D | libnetlink.c | 53 struct nlmsghdr nlh; member in struct:__anon35415 61 req.nlh.nlmsg_len = sizeof(req); 62 req.nlh.nlmsg_type = type; 63 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST; 64 req.nlh.nlmsg_pid = 0; 65 req.nlh.nlmsg_seq = rth->dump = ++rth->seq; 84 struct nlmsghdr nlh; local 86 struct iovec iov[2] = { { &nlh, sizeof(nlh) }, { req, len } }; 97 nlh [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/netfilter/ |
H A D | nf_conntrack_netlink.c | 355 struct nlmsghdr *nlh; local 361 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*nfmsg), flags); 362 if (nlh == NULL) 365 nfmsg = nlmsg_data(nlh); 401 nlmsg_end(skb, nlh); 406 nlmsg_cancel(skb, nlh); 473 struct nlmsghdr *nlh; local 508 nlh = nlmsg_put(skb, item->pid, 0, type, sizeof(*nfmsg), flags); 509 if (nlh == NULL) 512 nfmsg = nlmsg_data(nlh); 820 ctnetlink_del_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 886 ctnetlink_get_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1395 ctnetlink_new_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1594 struct nlmsghdr *nlh; local 1626 struct nlmsghdr *nlh; local 1739 ctnetlink_get_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1806 ctnetlink_del_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1953 ctnetlink_new_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument [all...] |
H A D | nfnetlink.c | 126 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument 137 if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(struct nfgenmsg))) 140 type = nlh->nlmsg_type; 160 u_int8_t cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type); 162 struct nlattr *attr = (void *)nlh + min_len; 163 int attrlen = nlh->nlmsg_len - min_len; 170 err = nc->call(net->nfnl, skb, nlh, (const struct nlattr **)cda);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/networking/libiproute/ |
H A D | libnetlink.c | 53 struct nlmsghdr nlh; member in struct:__anon485 61 req.nlh.nlmsg_len = sizeof(req); 62 req.nlh.nlmsg_type = type; 63 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST; 64 req.nlh.nlmsg_pid = 0; 65 req.nlh.nlmsg_seq = rth->dump = ++rth->seq; 84 struct nlmsghdr nlh; local 86 struct iovec iov[2] = { { &nlh, sizeof(nlh) }, { req, len } }; 97 nlh [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/networking/libiproute/ |
H A D | libnetlink.c | 53 struct nlmsghdr nlh; member in struct:__anon1390 61 req.nlh.nlmsg_len = sizeof(req); 62 req.nlh.nlmsg_type = type; 63 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST; 64 req.nlh.nlmsg_pid = 0; 65 req.nlh.nlmsg_seq = rth->dump = ++rth->seq; 84 struct nlmsghdr nlh; local 86 struct iovec iov[2] = { { &nlh, sizeof(nlh) }, { req, len } }; 97 nlh [all...] |