Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 5 of 5) sorted by relevance

/net/ipv4/
Dinet_diag.c656 const void *bc = nla_data(_bc); in inet_diag_bc_run() local
661 const struct inet_diag_bc_op *op = bc; in inet_diag_bc_run()
761 bc += op->yes; in inet_diag_bc_run()
764 bc += op->no; in inet_diag_bc_run()
787 int inet_diag_bc_sk(const struct nlattr *bc, struct sock *sk) in inet_diag_bc_sk() argument
792 if (!bc) in inet_diag_bc_sk()
814 return inet_diag_bc_run(bc, &entry); in inet_diag_bc_sk()
818 static int valid_cc(const void *bc, int len, int cc) in valid_cc() argument
821 const struct inet_diag_bc_op *op = bc; in valid_cc()
830 bc += op->yes; in valid_cc()
[all …]
Draw_diag.c130 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument
132 if (!inet_diag_bc_sk(bc, sk)) in sk_diag_dump()
147 struct nlattr *bc; in raw_diag_dump() local
153 bc = cb_data->inet_diag_nla_bc; in raw_diag_dump()
176 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) in raw_diag_dump()
Dudp_diag.c19 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument
21 if (!inet_diag_bc_sk(bc, sk)) in sk_diag_dump()
97 struct nlattr *bc; in udp_dump() local
100 bc = cb_data->inet_diag_nla_bc; in udp_dump()
133 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) { in udp_dump()
/net/mptcp/
Dmptcp_diag.c19 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument
21 if (!inet_diag_bc_sk(bc, sk)) in sk_diag_dump()
82 struct nlattr *bc = cb_data->inet_diag_nla_bc; in mptcp_diag_dump_listeners() local
122 ret = sk_diag_dump(sk, skb, cb, r, bc, net_admin); in mptcp_diag_dump_listeners()
157 struct nlattr *bc; in mptcp_diag_dump() local
162 bc = cb_data->inet_diag_nla_bc; in mptcp_diag_dump()
182 ret = sk_diag_dump(sk, skb, cb, r, bc, net_admin); in mptcp_diag_dump()
/net/smc/
Dsmc_diag.c74 struct nlattr *bc) in __smc_diag_dump() argument
197 struct nlattr *bc = NULL; in smc_diag_dump_proto() local
212 rc = __smc_diag_dump(sk, skb, cb, nlmsg_data(cb->nlh), bc); in smc_diag_dump_proto()