Searched defs:nlskb (Results 1 - 4 of 4) sorted by relevance

/net/netlink/
H A Ddiag.c13 struct sk_buff *nlskb)
22 return nla_put(nlskb, nl_type, sizeof(ndr), &ndr);
25 static int sk_diag_put_rings_cfg(struct sock *sk, struct sk_buff *nlskb) argument
31 ret = sk_diag_put_ring(&nlk->rx_ring, NETLINK_DIAG_RX_RING, nlskb);
34 nlskb);
40 static int sk_diag_put_rings_cfg(struct sock *sk, struct sk_buff *nlskb) argument
46 static int sk_diag_dump_groups(struct sock *sk, struct sk_buff *nlskb) argument
53 return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups),
12 sk_diag_put_ring(struct netlink_ring *ring, int nl_type, struct sk_buff *nlskb) argument
/net/packet/
H A Ddiag.c12 static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb) argument
34 return nla_put(nlskb, PACKET_DIAG_INFO, sizeof(pinfo), &pinfo);
37 static int pdiag_put_mclist(const struct packet_sock *po, struct sk_buff *nlskb) argument
42 mca = nla_nest_start(nlskb, PACKET_DIAG_MCLIST);
50 dml = nla_reserve_nohdr(nlskb, sizeof(*dml));
53 nla_nest_cancel(nlskb, mca);
66 nla_nest_end(nlskb, mca);
72 struct sk_buff *nlskb)
95 return nla_put(nlskb, nl_type, sizeof(pdr), &pdr);
113 static int pdiag_put_fanout(struct packet_sock *po, struct sk_buff *nlskb) argument
71 pdiag_put_ring(struct packet_ring_buffer *ring, int ver, int nl_type, struct sk_buff *nlskb) argument
[all...]
/net/unix/
H A Ddiag.c11 static int sk_diag_dump_name(struct sock *sk, struct sk_buff *nlskb) argument
18 return nla_put(nlskb, UNIX_DIAG_NAME, addr->len - sizeof(short),
22 static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb) argument
32 return nla_put(nlskb, UNIX_DIAG_VFS, sizeof(uv), &uv);
38 static int sk_diag_dump_peer(struct sock *sk, struct sk_buff *nlskb) argument
50 return nla_put_u32(nlskb, UNIX_DIAG_PEER, ino);
56 static int sk_diag_dump_icons(struct sock *sk, struct sk_buff *nlskb) argument
66 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS,
97 static int sk_diag_show_rqlen(struct sock *sk, struct sk_buff *nlskb) argument
109 return nla_put(nlskb, UNIX_DIAG_RQLE
[all...]
/net/netfilter/
H A Dnfnetlink_queue_core.c240 nfqnl_put_packet_info(struct sk_buff *nlskb, struct sk_buff *packet, argument
253 return flags ? nla_put_be32(nlskb, NFQA_SKB_INFO, htonl(flags)) : 0;

Completed in 399 milliseconds