Home
last modified time | relevance | path

Searched refs:netlink_net_capable (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/net/mptcp/
Dmptcp_diag.c54 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/
Draw_diag.c114 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()
Dudp_diag.c74 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()
Dinet_diag.c553 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/
Ddiag.c439 .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/
Dnetlink.h273 bool netlink_net_capable(const struct sk_buff *skb, int cap);
/kernel/linux/linux-5.10/net/packet/
Ddiag.c198 may_report_filterinfo = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in packet_diag_dump()
/kernel/linux/linux-5.10/net/netfilter/
Dnfnetlink.c592 if (!netlink_net_capable(skb, CAP_NET_ADMIN)) { in nfnetlink_rcv()
/kernel/linux/linux-5.10/net/netlink/
Daf_netlink.c911 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/
Dnetlink_compat.c1308 if ((msg.cmd & 0xC000) && (!netlink_net_capable(skb, CAP_NET_ADMIN))) { in tipc_nl_compat_recv()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_user.c2824 if (!netlink_net_capable(skb, CAP_NET_ADMIN)) in xfrm_user_rcv_msg()
/kernel/linux/linux-5.10/net/core/
Drtnetlink.c5498 if (kind != 2 && !netlink_net_capable(skb, CAP_NET_ADMIN)) in rtnetlink_rcv_msg()