Searched refs:net_admin (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/ |
D | inet_diag.c | 80 const struct nlmsghdr *unlh, bool net_admin) in inet_sk_diag_fill() argument 141 if (net_admin && nla_put_u32(skb, INET_DIAG_MARK, sk->sk_mark)) in inet_sk_diag_fill() 224 bool net_admin) in inet_csk_diag_fill() argument 227 skb, req, user_ns, portid, seq, nlmsg_flags, unlh, net_admin); in inet_csk_diag_fill() 290 const struct nlmsghdr *unlh, bool net_admin) in sk_diag_fill() argument 297 unlh, net_admin); in sk_diag_fill() 663 bool net_admin = ns_capable(sock_net(skb->sk)->user_ns, CAP_NET_ADMIN); in inet_diag_bc_audit() local 696 if (!net_admin) in inet_diag_bc_audit() 730 bool net_admin) in inet_csk_diag_dump() argument 739 net_admin); in inet_csk_diag_dump() [all …]
|
D | udp_diag.c | 23 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument 31 cb->nlh->nlmsg_seq, NLM_F_MULTI, cb->nlh, net_admin); in sk_diag_dump() 100 bool net_admin = ns_capable(net->user_ns, CAP_NET_ADMIN); in udp_dump() local 133 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) { in udp_dump()
|