Home
last modified time | relevance | path

Searched refs:net_admin (Results 1 – 8 of 8) sorted by relevance

/net/ipv4/
A Dtcp_diag.c86 const struct tcp_ulp_ops *ulp_ops, bool net_admin) in tcp_diag_put_ulp() argument
100 err = ulp_ops->get_info(sk, skb, net_admin); in tcp_diag_put_ulp()
112 static int tcp_diag_get_aux(struct sock *sk, bool net_admin, in tcp_diag_get_aux() argument
120 if (net_admin) { in tcp_diag_get_aux()
135 err = tcp_diag_put_ulp(skb, sk, ulp_ops, net_admin); in tcp_diag_get_aux()
143 static size_t tcp_diag_get_aux_size(struct sock *sk, bool net_admin) in tcp_diag_get_aux_size() argument
149 if (net_admin && sk_fullsock(sk)) { in tcp_diag_get_aux_size()
174 size += ulp_ops->get_info_size(sk, net_admin); in tcp_diag_get_aux_size()
A Dinet_diag.c102 bool net_admin) in inet_sk_attr_size() argument
128 bool net_admin) in inet_diag_msg_attrs_fill() argument
240 u16 nlmsg_flags, bool net_admin) in inet_sk_diag_fill() argument
278 net_admin)) in inet_sk_diag_fill()
468 u16 nlmsg_flags, bool net_admin) in inet_req_diag_fill() argument
509 u16 nlmsg_flags, bool net_admin) in sk_diag_fill() argument
518 net_admin); in sk_diag_fill()
960 if (!net_admin) in inet_diag_bc_audit()
1079 net_admin) < 0) { in inet_diag_dump_icsk()
1162 net_admin); in inet_diag_dump_icsk()
[all …]
A Draw_diag.c129 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument
134 return inet_sk_diag_fill(sk, NULL, skb, cb, r, NLM_F_MULTI, net_admin); in sk_diag_dump()
140 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in raw_diag_dump() local
177 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) in raw_diag_dump()
A Dudp_diag.c19 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument
25 net_admin); in sk_diag_dump()
93 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in udp_dump() local
133 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) { in udp_dump()
/net/mptcp/
A Dmptcp_diag.c18 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument
24 net_admin); in sk_diag_dump()
77 bool net_admin) in mptcp_diag_dump_listeners() argument
124 ret = sk_diag_dump(sk, skb, cb, r, bc, net_admin); in mptcp_diag_dump_listeners()
154 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in mptcp_diag_dump() local
184 ret = sk_diag_dump(sk, skb, cb, r, bc, net_admin); in mptcp_diag_dump()
196 mptcp_diag_dump_listeners(skb, cb, r, net_admin); in mptcp_diag_dump()
A Ddiag.c15 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()
/net/sctp/
A Ddiag.c125 bool net_admin) in inet_sctp_diag_fill() argument
153 if (inet_diag_msg_attrs_fill(sk, skb, r, ext, user_ns, net_admin)) in inet_sctp_diag_fill()
223 bool net_admin; member
271 commp->nlh, commp->net_admin); in sctp_sock_dump_one()
316 commp->net_admin) < 0) { in sctp_sock_dump()
326 commp->net_admin) < 0) { in sctp_sock_dump()
393 cb->nlh, commp->net_admin) < 0) { in sctp_ep_dump()
432 .net_admin = netlink_net_capable(skb, CAP_NET_ADMIN), in sctp_diag_dump_one()
468 .net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN), in sctp_diag_dump()
/net/tls/
A Dtls_main.c1066 static int tls_get_info(struct sock *sk, struct sk_buff *skb, bool net_admin) in tls_get_info() argument
1124 static size_t tls_get_info_size(const struct sock *sk, bool net_admin) in tls_get_info_size() argument

Completed in 22 milliseconds