Searched refs:netlink_net_capable (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/include/linux/
H A Dnetlink.h179 bool netlink_net_capable(const struct sk_buff *skb, int cap);
/linux-4.1.27/net/packet/
H A Ddiag.c198 may_report_filterinfo = netlink_net_capable(cb->skb, CAP_NET_ADMIN); packet_diag_dump()
/linux-4.1.27/net/netfilter/
H A Dnfnetlink.c442 if (!netlink_net_capable(skb, CAP_NET_ADMIN)) { nfnetlink_rcv()
/linux-4.1.27/net/netlink/
H A Daf_netlink.c1418 * netlink_net_capable - Netlink network namespace message capability test
1427 bool netlink_net_capable(const struct sk_buff *skb, int cap) netlink_net_capable() function
1431 EXPORT_SYMBOL(netlink_net_capable); variable
/linux-4.1.27/net/tipc/
H A Dnetlink_compat.c1019 if ((msg.cmd & 0xC000) && (!netlink_net_capable(skb, CAP_NET_ADMIN))) { tipc_nl_compat_recv()
/linux-4.1.27/net/core/
H A Drtnetlink.c3222 if (kind != 2 && !netlink_net_capable(skb, CAP_NET_ADMIN)) rtnetlink_rcv_msg()
/linux-4.1.27/net/xfrm/
H A Dxfrm_user.c2439 if (!netlink_net_capable(skb, CAP_NET_ADMIN)) xfrm_user_rcv_msg()

Completed in 231 milliseconds