Searched refs:netlink_net_capable (Results 1 – 11 of 11) sorted by relevance
/net/ipv4/ |
D | raw_diag.c | 113 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in raw_diag_dump_one() 140 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in raw_diag_dump()
|
D | udp_diag.c | 74 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in udp_dump_one() 93 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in udp_dump()
|
D | inet_diag.c | 559 bool net_admin = netlink_net_capable(in_skb, CAP_NET_ADMIN); in inet_diag_dump_one_icsk() 914 bool net_admin = netlink_net_capable(skb, CAP_NET_ADMIN); in inet_diag_bc_audit() 1013 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in inet_diag_dump_icsk()
|
/net/mptcp/ |
D | mptcp_diag.c | 54 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in mptcp_diag_dump_one() 155 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in mptcp_diag_dump()
|
/net/sctp/ |
D | diag.c | 432 .net_admin = netlink_net_capable(skb, CAP_NET_ADMIN), in sctp_diag_dump_one() 468 .net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN), in sctp_diag_dump()
|
/net/packet/ |
D | diag.c | 198 may_report_filterinfo = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in packet_diag_dump()
|
/net/netfilter/ |
D | nfnetlink.c | 651 if (!netlink_net_capable(skb, CAP_NET_ADMIN)) { in nfnetlink_rcv()
|
/net/netlink/ |
D | af_netlink.c | 933 bool netlink_net_capable(const struct sk_buff *skb, int cap) in netlink_net_capable() function 937 EXPORT_SYMBOL(netlink_net_capable);
|
/net/tipc/ |
D | netlink_compat.c | 1308 if ((msg.cmd & 0xC000) && (!netlink_net_capable(skb, CAP_NET_ADMIN))) { in tipc_nl_compat_recv()
|
/net/xfrm/ |
D | xfrm_user.c | 3116 if (!netlink_net_capable(skb, CAP_NET_ADMIN)) in xfrm_user_rcv_msg()
|
/net/core/ |
D | rtnetlink.c | 6361 if (kind != RTNL_KIND_GET && !netlink_net_capable(skb, CAP_NET_ADMIN)) in rtnetlink_rcv_msg()
|