Searched refs:net_admin (Results 1 – 5 of 5) sorted by relevance
| /linux/net/mptcp/ |
| H A D | diag.c | 15 static int subflow_get_info(struct sock *sk, struct sk_buff *skb, bool net_admin) in subflow_get_info() argument 67 if (net_admin && in subflow_get_info() 93 static size_t subflow_get_info_size(const struct sock *sk, bool net_admin) in subflow_get_info_size() argument 105 if (net_admin) in subflow_get_info_size()
|
| /linux/net/sctp/ |
| H A D | diag.c | 132 bool net_admin) in inet_sctp_diag_fill() argument 160 if (inet_diag_msg_attrs_fill(sk, skb, r, ext, user_ns, net_admin)) in inet_sctp_diag_fill() 230 bool net_admin; member 282 commp->nlh, commp->net_admin); in sctp_sock_dump_one() 327 commp->net_admin) < 0) { in sctp_sock_dump() 337 commp->net_admin) < 0) { in sctp_sock_dump() 404 cb->nlh, commp->net_admin) < 0) { in sctp_ep_dump() 443 .net_admin = netlink_net_capable(skb, CAP_NET_ADMIN), in sctp_diag_dump_one() 479 .net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN), in sctp_diag_dump()
|
| /linux/tools/testing/selftests/net/ |
| H A D | epoll_busy_poll.c | 231 cap_value_t net_admin[] = { CAP_NET_ADMIN }; in TEST_F() local 233 ret = cap_set_flag(self->caps, CAP_EFFECTIVE, 1, net_admin, CAP_CLEAR); in TEST_F() 251 ret = cap_set_flag(self->caps, CAP_EFFECTIVE, 1, net_admin, CAP_SET); in TEST_F()
|
| /linux/net/tls/ |
| H A D | tls_main.c | 1120 static int tls_get_info(struct sock *sk, struct sk_buff *skb, bool net_admin) in tls_get_info() argument 1184 static size_t tls_get_info_size(const struct sock *sk, bool net_admin) in tls_get_info_size() argument
|
| /linux/include/net/ |
| H A D | tcp.h | 2690 int (*get_info)(struct sock *sk, struct sk_buff *skb, bool net_admin); 2691 size_t (*get_info_size)(const struct sock *sk, bool net_admin);
|