Lines Matching refs:nlskb
13 static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_info() argument
35 return nla_put(nlskb, PACKET_DIAG_INFO, sizeof(pinfo), &pinfo); in pdiag_put_info()
38 static int pdiag_put_mclist(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_mclist() argument
43 mca = nla_nest_start_noflag(nlskb, PACKET_DIAG_MCLIST); in pdiag_put_mclist()
51 dml = nla_reserve_nohdr(nlskb, sizeof(*dml)); in pdiag_put_mclist()
54 nla_nest_cancel(nlskb, mca); in pdiag_put_mclist()
67 nla_nest_end(nlskb, mca); in pdiag_put_mclist()
73 struct sk_buff *nlskb) in pdiag_put_ring() argument
95 return nla_put(nlskb, nl_type, sizeof(pdr), &pdr); in pdiag_put_ring()
113 static int pdiag_put_fanout(struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_fanout() argument
122 ret = nla_put_u32(nlskb, PACKET_DIAG_FANOUT, val); in pdiag_put_fanout()