• Home
  • Raw
  • Download

Lines Matching refs:net_admin

93 				bool net_admin)  in inet_sk_attr_size()  argument
100 aux = handler->idiag_get_aux_size(sk, net_admin); in inet_sk_attr_size()
116 bool net_admin) in inet_diag_msg_attrs_fill() argument
143 if (net_admin && nla_put_u32(skb, INET_DIAG_MARK, sk->sk_mark)) in inet_diag_msg_attrs_fill()
178 bool net_admin) in inet_sk_diag_fill() argument
205 if (inet_diag_msg_attrs_fill(sk, skb, r, ext, user_ns, net_admin)) in inet_sk_diag_fill()
282 if (handler->idiag_get_aux(sk, net_admin, skb) < 0) in inet_sk_diag_fill()
315 bool net_admin) in inet_csk_diag_fill() argument
318 portid, seq, nlmsg_flags, unlh, net_admin); in inet_csk_diag_fill()
357 const struct nlmsghdr *unlh, bool net_admin) in inet_req_diag_fill() argument
385 if (net_admin && nla_put_u32(skb, INET_DIAG_MARK, in inet_req_diag_fill()
399 const struct nlmsghdr *unlh, bool net_admin) in sk_diag_fill() argument
407 nlmsg_flags, unlh, net_admin); in sk_diag_fill()
410 nlmsg_flags, unlh, net_admin); in sk_diag_fill()
462 bool net_admin = netlink_net_capable(in_skb, CAP_NET_ADMIN); in inet_diag_dump_one_icsk() local
472 rep = nlmsg_new(inet_sk_attr_size(sk, req, net_admin), GFP_KERNEL); in inet_diag_dump_one_icsk()
481 nlh->nlmsg_seq, 0, nlh, net_admin); in inet_diag_dump_one_icsk()
783 bool net_admin = netlink_net_capable(skb, CAP_NET_ADMIN); in inet_diag_bc_audit() local
817 if (!net_admin) in inet_diag_bc_audit()
851 bool net_admin) in inet_csk_diag_dump() argument
860 net_admin); in inet_csk_diag_dump()
893 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in inet_diag_dump_icsk() local
935 bc, net_admin) < 0) { in inet_diag_dump_icsk()
1017 cb->nlh, net_admin); in inet_diag_dump_icsk()