/linux-6.3-rc2/net/ipv4/ |
A D | udp_diag.c | 32 struct sk_buff *in_skb = cb->skb; in udp_dump_one() local 36 struct net *net = sock_net(in_skb->sk); in udp_dump_one() 74 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in udp_dump_one() 80 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in udp_dump_one() 167 static int __udp_diag_destroy(struct sk_buff *in_skb, in __udp_diag_destroy() argument 171 struct net *net = sock_net(in_skb->sk); in __udp_diag_destroy() 225 static int udp_diag_destroy(struct sk_buff *in_skb, in udp_diag_destroy() argument 228 return __udp_diag_destroy(in_skb, req, sock_net(in_skb->sk)->ipv4.udp_table); in udp_diag_destroy() 231 static int udplite_diag_destroy(struct sk_buff *in_skb, in udplite_diag_destroy() argument 234 return __udp_diag_destroy(in_skb, req, &udplite_table); in udplite_diag_destroy()
|
A D | raw_diag.c | 93 struct sk_buff *in_skb = cb->skb; in raw_diag_dump_one() local 99 net = sock_net(in_skb->sk); in raw_diag_dump_one() 114 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in raw_diag_dump_one() 122 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in raw_diag_dump_one() 201 static int raw_diag_destroy(struct sk_buff *in_skb, in raw_diag_destroy() argument 204 struct net *net = sock_net(in_skb->sk); in raw_diag_destroy()
|
A D | inet_diag.c | 558 struct sk_buff *in_skb = cb->skb; in inet_diag_dump_one_icsk() local 559 bool net_admin = netlink_net_capable(in_skb, CAP_NET_ADMIN); in inet_diag_dump_one_icsk() 560 struct net *net = sock_net(in_skb->sk); in inet_diag_dump_one_icsk() 581 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in inet_diag_dump_one_icsk() 591 static int inet_diag_cmd_exact(int cmd, struct sk_buff *in_skb, in inet_diag_cmd_exact() argument 613 .skb = in_skb, in inet_diag_cmd_exact() 618 err = handler->destroy(in_skb, req); in inet_diag_cmd_exact() 1290 static int inet_diag_get_exact_compat(struct sk_buff *in_skb, in inet_diag_get_exact_compat() argument 1302 return inet_diag_cmd_exact(SOCK_DIAG_BY_FAMILY, in_skb, nlh, in inet_diag_get_exact_compat()
|
A D | tcp_diag.c | 202 static int tcp_diag_destroy(struct sk_buff *in_skb, in tcp_diag_destroy() argument 205 struct net *net = sock_net(in_skb->sk); in tcp_diag_destroy()
|
A D | nexthop.c | 3014 static int rtm_get_nexthop(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtm_get_nexthop() argument 3017 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop() 3037 err = nh_fill_node(skb, nh, RTM_NEWNEXTHOP, NETLINK_CB(in_skb).portid, in rtm_get_nexthop() 3044 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop() 3501 static int rtm_get_nexthop_bucket(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtm_get_nexthop_bucket() argument 3504 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop_bucket() 3534 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in rtm_get_nexthop_bucket() 3541 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop_bucket()
|
A D | devinet.c | 2168 static int inet_netconf_get_devconf(struct sk_buff *in_skb, in inet_netconf_get_devconf() argument 2172 struct net *net = sock_net(in_skb->sk); in inet_netconf_get_devconf() 2181 err = inet_netconf_valid_get_req(in_skb, nlh, tb, extack); in inet_netconf_get_devconf() 2214 NETLINK_CB(in_skb).portid, in inet_netconf_get_devconf() 2223 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_netconf_get_devconf()
|
/linux-6.3-rc2/crypto/ |
A D | crypto_user_base.c | 30 struct sk_buff *in_skb; member 157 struct sk_buff *in_skb = info->in_skb; in crypto_report_alg() local 163 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg() 184 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_report() argument 187 struct net *net = sock_net(in_skb->sk); in crypto_report() 206 info.in_skb = in_skb; in crypto_report() 221 return nlmsg_unicast(net->crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_report() 232 info.in_skb = cb->skb; in crypto_dump_report()
|
A D | crypto_user_stat.c | 25 struct sk_buff *in_skb; member 268 struct sk_buff *in_skb = info->in_skb; in crypto_reportstat_alg() local 274 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_reportstat_alg() 295 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_reportstat() argument 298 struct net *net = sock_net(in_skb->sk); in crypto_reportstat() 317 info.in_skb = in_skb; in crypto_reportstat() 332 return nlmsg_unicast(net->crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_reportstat()
|
/linux-6.3-rc2/include/crypto/internal/ |
A D | cryptouser.h | 8 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs); 10 static inline int crypto_reportstat(struct sk_buff *in_skb, in crypto_reportstat() argument
|
/linux-6.3-rc2/net/unix/ |
A D | diag.c | 258 static int unix_diag_get_exact(struct sk_buff *in_skb, in unix_diag_get_exact() argument 262 struct net *net = sock_net(in_skb->sk); in unix_diag_get_exact() 288 err = sk_diag_fill(sk, rep, req, sk_user_ns(NETLINK_CB(in_skb).sk), in unix_diag_get_exact() 289 NETLINK_CB(in_skb).portid, in unix_diag_get_exact() 299 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
|
/linux-6.3-rc2/net/mptcp/ |
A D | mptcp_diag.c | 31 struct sk_buff *in_skb = cb->skb; in mptcp_diag_dump_one() local 38 net = sock_net(in_skb->sk); in mptcp_diag_dump_one() 54 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in mptcp_diag_dump_one() 60 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in mptcp_diag_dump_one()
|
/linux-6.3-rc2/net/ipv6/ |
A D | addrlabel.c | 579 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get() argument 582 struct net *net = sock_net(in_skb->sk); in ip6addrlbl_get() 591 err = ip6addrlbl_valid_get_req(in_skb, nlh, tb, extack); in ip6addrlbl_get() 620 NETLINK_CB(in_skb).portid, in ip6addrlbl_get() 629 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
|
A D | ip6mr.c | 98 static int ip6mr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, 2554 static int ip6mr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6mr_rtm_getroute() argument 2557 struct net *net = sock_net(in_skb->sk); in ip6mr_rtm_getroute() 2566 err = ip6mr_rtm_valid_getroute_req(in_skb, nlh, tb, extack); in ip6mr_rtm_getroute() 2595 err = ip6mr_fill_mroute(mrt, skb, NETLINK_CB(in_skb).portid, in ip6mr_rtm_getroute() 2602 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6mr_rtm_getroute()
|
/linux-6.3-rc2/drivers/net/wireguard/ |
A D | socket.h | 22 struct sk_buff *in_skb,
|
A D | socket.c | 204 struct sk_buff *in_skb, void *buffer, in wg_socket_send_buffer_as_reply_to_skb() argument 211 if (unlikely(!in_skb)) in wg_socket_send_buffer_as_reply_to_skb() 213 ret = wg_socket_endpoint_from_skb(&endpoint, in_skb); in wg_socket_send_buffer_as_reply_to_skb()
|
/linux-6.3-rc2/net/netlink/ |
A D | af_netlink.c | 2456 netlink_ack_tlv_fill(struct sk_buff *in_skb, struct sk_buff *skb, in netlink_ack_tlv_fill() argument 2470 !WARN_ON((u8 *)extack->bad_attr < in_skb->data || in netlink_ack_tlv_fill() 2471 (u8 *)extack->bad_attr >= in_skb->data + in_skb->len)) in netlink_ack_tlv_fill() 2481 !WARN_ON((u8 *)extack->miss_nest < in_skb->data || in netlink_ack_tlv_fill() 2482 (u8 *)extack->miss_nest > in_skb->data + in_skb->len)) in netlink_ack_tlv_fill() 2494 struct netlink_sock *nlk = nlk_sk(NETLINK_CB(in_skb).sk); in netlink_ack() 2515 rep = nlmsg_put(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in netlink_ack() 2532 netlink_ack_tlv_fill(in_skb, skb, nlh, err, extack); in netlink_ack() 2536 nlmsg_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).portid); in netlink_ack() 2543 NETLINK_CB(in_skb).sk->sk_err = ENOBUFS; in netlink_ack() [all …]
|
/linux-6.3-rc2/net/tls/ |
A D | tls_strp.c | 186 static int tls_strp_copyin(read_descriptor_t *desc, struct sk_buff *in_skb, in tls_strp_copyin() argument 206 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin() 237 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin()
|
/linux-6.3-rc2/include/linux/ |
A D | inet_diag.h | 29 int (*destroy)(struct sk_buff *in_skb,
|
A D | netlink.h | 201 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err,
|
/linux-6.3-rc2/net/mpls/ |
A D | af_mpls.c | 1251 static int mpls_netconf_get_devconf(struct sk_buff *in_skb, in mpls_netconf_get_devconf() argument 1255 struct net *net = sock_net(in_skb->sk); in mpls_netconf_get_devconf() 1263 err = mpls_netconf_valid_get_req(in_skb, nlh, tb, extack); in mpls_netconf_get_devconf() 1286 NETLINK_CB(in_skb).portid, in mpls_netconf_get_devconf() 1295 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in mpls_netconf_get_devconf() 2356 static int mpls_getroute(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in mpls_getroute() argument 2359 struct net *net = sock_net(in_skb->sk); in mpls_getroute() 2360 u32 portid = NETLINK_CB(in_skb).portid; in mpls_getroute() 2375 err = mpls_valid_getroute_req(in_skb, in_nlh, tb, extack); in mpls_getroute()
|
/linux-6.3-rc2/net/xfrm/ |
A D | xfrm_user.c | 918 struct sk_buff *in_skb; member 1155 struct sk_buff *in_skb = sp->in_skb; in dump_one_state() local 1162 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state() 1210 info.in_skb = cb->skb; in xfrm_dump_sa() 1245 static struct sk_buff *xfrm_state_netlink(struct sk_buff *in_skb, in xfrm_state_netlink() argument 1256 info.in_skb = in_skb; in xfrm_state_netlink() 2034 struct sk_buff *in_skb = sp->in_skb; in dump_one_policy() local 2040 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy() 2103 info.in_skb = cb->skb; in xfrm_dump_policy() 2113 static struct sk_buff *xfrm_policy_netlink(struct sk_buff *in_skb, in xfrm_policy_netlink() argument [all …]
|
/linux-6.3-rc2/net/sched/ |
A D | cls_cgroup.c | 78 static int cls_cgroup_change(struct net *net, struct sk_buff *in_skb, in cls_cgroup_change() argument
|
A D | cls_flow.c | 389 static int flow_change(struct net *net, struct sk_buff *in_skb, in flow_change() argument 431 sk_user_ns(NETLINK_CB(in_skb).sk) != &init_user_ns) in flow_change()
|
A D | cls_basic.c | 172 static int basic_change(struct net *net, struct sk_buff *in_skb, in basic_change() argument
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43legacy/ |
A D | dma.c | 934 struct sk_buff **in_skb) in dma_tx_fragment() argument 936 struct sk_buff *skb = *in_skb; in dma_tx_fragment() 1006 *in_skb = bounce_skb; in dma_tx_fragment()
|