Searched refs:netlink_net_capable (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/net/mptcp/ |
D | mptcp_diag.c | 54 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in mptcp_diag_dump_one() 74 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in mptcp_diag_dump()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | raw_diag.c | 114 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in raw_diag_dump_one() 144 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() 95 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in udp_dump()
|
D | inet_diag.c | 553 bool net_admin = netlink_net_capable(in_skb, CAP_NET_ADMIN); in inet_diag_dump_one_icsk() 909 bool net_admin = netlink_net_capable(skb, CAP_NET_ADMIN); in inet_diag_bc_audit() 1008 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in inet_diag_dump_icsk()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | diag.c | 439 .net_admin = netlink_net_capable(in_skb, CAP_NET_ADMIN), in sctp_diag_dump_one() 475 .net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN), in sctp_diag_dump()
|
/kernel/linux/linux-5.10/include/linux/ |
D | netlink.h | 273 bool netlink_net_capable(const struct sk_buff *skb, int cap);
|
/kernel/linux/linux-5.10/net/packet/ |
D | diag.c | 198 may_report_filterinfo = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in packet_diag_dump()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nfnetlink.c | 592 if (!netlink_net_capable(skb, CAP_NET_ADMIN)) { in nfnetlink_rcv()
|
/kernel/linux/linux-5.10/net/netlink/ |
D | af_netlink.c | 911 bool netlink_net_capable(const struct sk_buff *skb, int cap) in netlink_net_capable() function 915 EXPORT_SYMBOL(netlink_net_capable);
|
/kernel/linux/linux-5.10/net/tipc/ |
D | netlink_compat.c | 1308 if ((msg.cmd & 0xC000) && (!netlink_net_capable(skb, CAP_NET_ADMIN))) { in tipc_nl_compat_recv()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_user.c | 2824 if (!netlink_net_capable(skb, CAP_NET_ADMIN)) in xfrm_user_rcv_msg()
|
/kernel/linux/linux-5.10/net/core/ |
D | rtnetlink.c | 5498 if (kind != 2 && !netlink_net_capable(skb, CAP_NET_ADMIN)) in rtnetlink_rcv_msg()
|