Home
last modified time | relevance | path

Searched refs:netlink_capable (Results 1 – 11 of 11) sorted by relevance

/net/phonet/
Dpn_netlink.c73 if (!netlink_capable(skb, CAP_NET_ADMIN)) in addr_doit()
76 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in addr_doit()
236 if (!netlink_capable(skb, CAP_NET_ADMIN)) in route_doit()
239 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in route_doit()
/net/tipc/
Dnetlink.c50 if ((req_userhdr->cmd & 0xC000) && (!netlink_capable(skb, CAP_NET_ADMIN))) in handle_cmd()
/net/decnet/netfilter/
Ddn_rtmsg.c112 if (!netlink_capable(skb, CAP_NET_ADMIN)) in dnrmg_receive_user_skb()
/net/decnet/
Ddn_fib.c508 if (!netlink_capable(skb, CAP_NET_ADMIN)) in dn_fib_rtm_delroute()
533 if (!netlink_capable(skb, CAP_NET_ADMIN)) in dn_fib_rtm_newroute()
Ddn_dev.c578 if (!netlink_capable(skb, CAP_NET_ADMIN)) in dn_nl_deladdr()
622 if (!netlink_capable(skb, CAP_NET_ADMIN)) in dn_nl_newaddr()
/net/can/
Dgw.c807 if (!netlink_capable(skb, CAP_NET_ADMIN)) in cgw_create_job()
896 if (!netlink_capable(skb, CAP_NET_ADMIN)) in cgw_remove_job()
/net/netlink/
Dgenetlink.c574 !netlink_capable(skb, CAP_NET_ADMIN)) in genl_family_rcv_msg()
Daf_netlink.c807 bool netlink_capable(const struct sk_buff *skb, int cap) in netlink_capable() function
811 EXPORT_SYMBOL(netlink_capable);
/net/sched/
Dact_api.c951 if ((n->nlmsg_type != RTM_GETACTION) && !netlink_capable(skb, CAP_NET_ADMIN)) in tc_ctl_action()
/net/dcb/
Ddcbnl.c1678 if ((nlh->nlmsg_type == RTM_SETDCB) && !netlink_capable(skb, CAP_NET_ADMIN)) in dcb_doit()
/net/core/
Drtnetlink.c2471 if (!netlink_capable(skb, CAP_NET_ADMIN)) in rtnl_fdb_del()