Lines Matching refs:nlskb
14 static int sk_diag_dump_name(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_name() argument
22 return nla_put(nlskb, UNIX_DIAG_NAME, addr->len - sizeof(short), in sk_diag_dump_name()
26 static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_vfs() argument
36 return nla_put(nlskb, UNIX_DIAG_VFS, sizeof(uv), &uv); in sk_diag_dump_vfs()
42 static int sk_diag_dump_peer(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_peer() argument
54 return nla_put_u32(nlskb, UNIX_DIAG_PEER, ino); in sk_diag_dump_peer()
60 static int sk_diag_dump_icons(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_icons() argument
70 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons()
101 static int sk_diag_show_rqlen(struct sock *sk, struct sk_buff *nlskb) in sk_diag_show_rqlen() argument
113 return nla_put(nlskb, UNIX_DIAG_RQLEN, sizeof(rql), &rql); in sk_diag_show_rqlen()
116 static int sk_diag_dump_uid(struct sock *sk, struct sk_buff *nlskb, in sk_diag_dump_uid() argument
120 return nla_put(nlskb, UNIX_DIAG_UID, sizeof(uid_t), &uid); in sk_diag_dump_uid()