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

/linux-master/include/linux/
H A Dinet_diag.h24 bool net_admin,
28 bool net_admin);
50 u16 nlmsg_flags, bool net_admin);
85 struct user_namespace *user_ns, bool net_admin);
/linux-master/net/mptcp/
H A Dmptcp_diag.c18 struct nlattr *bc, bool net_admin)
24 net_admin);
77 bool net_admin)
124 ret = sk_diag_dump(sk, skb, cb, r, bc, net_admin);
154 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); local
184 ret = sk_diag_dump(sk, skb, cb, r, bc, net_admin);
196 mptcp_diag_dump_listeners(skb, cb, r, net_admin);
15 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *req, struct nlattr *bc, bool net_admin) argument
75 mptcp_diag_dump_listeners(struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *r, bool net_admin) argument
/linux-master/net/ipv4/
H A Dtcp_diag.c112 static int tcp_diag_get_aux(struct sock *sk, bool net_admin, argument
119 if (net_admin) {
132 if (net_admin) {
144 static size_t tcp_diag_get_aux_size(struct sock *sk, bool net_admin) argument
150 if (net_admin && sk_fullsock(sk)) {
167 if (net_admin && sk_fullsock(sk)) {
H A Draw_diag.c129 struct nlattr *bc, bool net_admin)
134 return inet_sk_diag_fill(sk, NULL, skb, cb, r, NLM_F_MULTI, net_admin);
140 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); local
177 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0)
126 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *r, struct nlattr *bc, bool net_admin) argument
H A Dinet_diag.c102 bool net_admin)
111 aux = handler->idiag_get_aux_size(sk, net_admin);
128 bool net_admin)
156 if (net_admin && nla_put_u32(skb, INET_DIAG_MARK, READ_ONCE(sk->sk_mark)))
240 u16 nlmsg_flags, bool net_admin)
277 net_admin))
354 if (handler->idiag_get_aux(sk, net_admin, skb) < 0)
426 u16 nlmsg_flags, bool net_admin)
454 if (net_admin && nla_put_u32(skb, INET_DIAG_MARK,
466 u16 nlmsg_flags, bool net_admin)
100 inet_sk_attr_size(struct sock *sk, const struct inet_diag_req_v2 *req, bool net_admin) argument
125 inet_diag_msg_attrs_fill(struct sock *sk, struct sk_buff *skb, struct inet_diag_msg *r, int ext, struct user_namespace *user_ns, bool net_admin) argument
237 inet_sk_diag_fill(struct sock *sk, struct inet_connection_sock *icsk, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *req, u16 nlmsg_flags, bool net_admin) argument
423 inet_twsk_diag_fill(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, u16 nlmsg_flags, bool net_admin) argument
464 inet_req_diag_fill(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, u16 nlmsg_flags, bool net_admin) argument
504 sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *r, u16 nlmsg_flags, bool net_admin) argument
568 bool net_admin = netlink_net_capable(in_skb, CAP_NET_ADMIN); local
924 bool net_admin = netlink_net_capable(skb, CAP_NET_ADMIN); local
1023 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); local
[all...]
H A Dudp_diag.c19 struct nlattr *bc, bool net_admin)
25 net_admin);
93 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); local
133 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) {
16 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *req, struct nlattr *bc, bool net_admin) argument
/linux-master/net/sctp/
H A Ddiag.c125 bool net_admin)
153 if (inet_diag_msg_attrs_fill(sk, skb, r, ext, user_ns, net_admin))
223 bool net_admin; member in struct:sctp_comm_param
271 commp->nlh, commp->net_admin);
316 commp->net_admin) < 0) {
326 commp->net_admin) < 0) {
393 cb->nlh, commp->net_admin) < 0) {
432 .net_admin = netlink_net_capable(skb, CAP_NET_ADMIN),
468 .net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN),
119 inet_sctp_diag_fill(struct sock *sk, struct sctp_association *asoc, struct sk_buff *skb, const struct inet_diag_req_v2 *req, struct user_namespace *user_ns, int portid, u32 seq, u16 nlmsg_flags, const struct nlmsghdr *unlh, bool net_admin) argument

Completed in 132 milliseconds