| /linux/net/tls/ |
| H A D | tls_strp.c | 42 tls_strp_skb_copy(struct tls_strparser *strp, struct sk_buff *in_skb, in tls_strp_skb_copy() argument 56 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_skb_copy() 64 skb_copy_header(skb, in_skb); in tls_strp_skb_copy() 211 struct sk_buff *in_skb, unsigned int offset, in tls_strp_copyin_frag() argument 231 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin_frag() 269 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin_frag() 287 struct sk_buff *in_skb, unsigned int offset, in tls_strp_copyin_skb() argument 301 nskb = tls_strp_skb_copy(strp, in_skb, offset, chunk); in tls_strp_copyin_skb() 342 static int tls_strp_copyin(read_descriptor_t *desc, struct sk_buff *in_skb, in tls_strp_copyin() argument 354 skb_copy_decrypted(skb, in_skb); in tls_strp_copyin() [all …]
|
| /linux/net/unix/ |
| H A D | diag.c | 244 static int unix_diag_get_exact(struct sk_buff *in_skb, in unix_diag_get_exact() argument 248 struct net *net = sock_net(in_skb->sk); in unix_diag_get_exact() 274 err = sk_diag_fill(sk, rep, req, sk_user_ns(NETLINK_CB(in_skb).sk), in unix_diag_get_exact() 275 NETLINK_CB(in_skb).portid, in unix_diag_get_exact() 285 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
|
| /linux/net/ipv4/ |
| H A D | tcp_diag.c | 607 struct sk_buff *in_skb = cb->skb; in tcp_diag_dump_one() local 614 net = sock_net(in_skb->sk); in tcp_diag_dump_one() 619 net_admin = netlink_net_capable(in_skb, CAP_NET_ADMIN); in tcp_diag_dump_one() 632 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in tcp_diag_dump_one() 642 static int tcp_diag_destroy(struct sk_buff *in_skb, in tcp_diag_destroy() argument 645 struct net *net = sock_net(in_skb->sk); in tcp_diag_destroy()
|
| H A D | nexthop.c | 3376 static int rtm_get_nexthop(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtm_get_nexthop() argument 3380 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop() 3407 err = nh_fill_node(skb, nh, RTM_NEWNEXTHOP, NETLINK_CB(in_skb).portid, in rtm_get_nexthop() 3414 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop() 3875 static int rtm_get_nexthop_bucket(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtm_get_nexthop_bucket() argument 3878 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop_bucket() 3908 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in rtm_get_nexthop_bucket() 3915 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop_bucket()
|
| H A D | tcp_input.c | 5321 static bool tcp_prune_ofo_queue(struct sock *sk, const struct sk_buff *in_skb); 5322 static int tcp_prune_queue(struct sock *sk, const struct sk_buff *in_skb); 5906 static bool tcp_prune_ofo_queue(struct sock *sk, const struct sk_buff *in_skb) in tcp_prune_ofo_queue() argument 5923 if (after(TCP_SKB_CB(in_skb)->seq, TCP_SKB_CB(skb)->seq)) in tcp_prune_ofo_queue() 5932 if (tcp_can_ingest(sk, in_skb) && in tcp_prune_ofo_queue() 5960 static int tcp_prune_queue(struct sock *sk, const struct sk_buff *in_skb) in tcp_prune_queue() argument 5970 if (!tcp_can_ingest(sk, in_skb)) in tcp_prune_queue() 5975 if (tcp_can_ingest(sk, in_skb)) in tcp_prune_queue() 5985 if (tcp_can_ingest(sk, in_skb)) in tcp_prune_queue() 5991 tcp_prune_ofo_queue(sk, in_skb); in tcp_prune_queue() [all …]
|
| H A D | ipmr.c | 2720 static int ipmr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ipmr_rtm_getroute() argument 2723 struct net *net = sock_net(in_skb->sk); in ipmr_rtm_getroute() 2732 err = ipmr_rtm_valid_getroute_req(in_skb, nlh, tb, extack); in ipmr_rtm_getroute() 2760 err = ipmr_fill_mroute(mrt, skb, NETLINK_CB(in_skb).portid, in ipmr_rtm_getroute() 2768 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ipmr_rtm_getroute()
|
| /linux/net/ipv6/ |
| H A D | addrlabel.c | 572 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get() argument 575 struct net *net = sock_net(in_skb->sk); in ip6addrlbl_get() 584 err = ip6addrlbl_valid_get_req(in_skb, nlh, tb, extack); in ip6addrlbl_get() 613 NETLINK_CB(in_skb).portid, in ip6addrlbl_get() 622 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
|
| H A D | addrconf.c | 657 static int inet6_netconf_get_devconf(struct sk_buff *in_skb, in inet6_netconf_get_devconf() argument 661 struct net *net = sock_net(in_skb->sk); in inet6_netconf_get_devconf() 670 err = inet6_netconf_valid_get_req(in_skb, nlh, tb, extack); in inet6_netconf_get_devconf() 703 NETLINK_CB(in_skb).portid, in inet6_netconf_get_devconf() 712 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_netconf_get_devconf() 5536 static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr *nlh, in inet6_rtm_getaddr() argument 5539 struct net *tgt_net = sock_net(in_skb->sk); in inet6_rtm_getaddr() 5541 .portid = NETLINK_CB(in_skb).portid, in inet6_rtm_getaddr() 5556 err = inet6_rtm_valid_getaddr_req(in_skb, nlh, tb, extack); in inet6_rtm_getaddr() 5563 tgt_net = rtnl_get_net_ns_capable(NETLINK_CB(in_skb).sk, in inet6_rtm_getaddr() [all …]
|
| H A D | route.c | 6203 static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in inet6_rtm_getroute() argument 6206 struct net *net = sock_net(in_skb->sk); in inet6_rtm_getroute() 6218 err = inet6_rtm_valid_getroute_req(in_skb, nlh, tb, extack); in inet6_rtm_getroute() 6328 NETLINK_CB(in_skb).portid, in inet6_rtm_getroute() 6333 NETLINK_CB(in_skb).portid, in inet6_rtm_getroute() 6345 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_rtm_getroute()
|
| /linux/drivers/net/wireguard/ |
| H A D | socket.h | 22 struct sk_buff *in_skb,
|
| /linux/net/mpls/ |
| H A D | af_mpls.c | 1279 static int mpls_netconf_get_devconf(struct sk_buff *in_skb, in mpls_netconf_get_devconf() argument 1283 struct net *net = sock_net(in_skb->sk); in mpls_netconf_get_devconf() 1291 err = mpls_netconf_valid_get_req(in_skb, nlh, tb, extack); in mpls_netconf_get_devconf() 1323 NETLINK_CB(in_skb).portid, in mpls_netconf_get_devconf() 1332 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in mpls_netconf_get_devconf() 2408 static int mpls_getroute(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in mpls_getroute() argument 2411 struct net *net = sock_net(in_skb->sk); in mpls_getroute() 2412 u32 portid = NETLINK_CB(in_skb).portid; in mpls_getroute() 2429 err = mpls_valid_getroute_req(in_skb, in_nlh, tb, extack); in mpls_getroute()
|
| /linux/net/xfrm/ |
| H A D | xfrm_user.c | 1156 struct sk_buff *in_skb; member 1453 struct sk_buff *in_skb = sp->in_skb; in dump_one_state() local 1460 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state() 1508 info.in_skb = cb->skb; in xfrm_dump_sa() 1552 static struct sk_buff *xfrm_state_netlink(struct sk_buff *in_skb, in xfrm_state_netlink() argument 1563 info.in_skb = in_skb; in xfrm_state_netlink() 2364 struct sk_buff *in_skb = sp->in_skb; in dump_one_policy() local 2370 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy() 2433 info.in_skb = cb->skb; in xfrm_dump_policy() 2443 static struct sk_buff *xfrm_policy_netlink(struct sk_buff *in_skb, in xfrm_policy_netlink() argument [all …]
|
| /linux/net/sched/ |
| H A D | cls_cgroup.c | 78 static int cls_cgroup_change(struct net *net, struct sk_buff *in_skb, in cls_cgroup_change() argument
|
| H A D | cls_flow.c | 390 static int flow_change(struct net *net, struct sk_buff *in_skb, in flow_change() argument 432 sk_user_ns(NETLINK_CB(in_skb).sk) != &init_user_ns) in flow_change()
|
| H A D | cls_basic.c | 172 static int basic_change(struct net *net, struct sk_buff *in_skb, in basic_change() argument
|
| H A D | cls_matchall.c | 162 static int mall_change(struct net *net, struct sk_buff *in_skb, in mall_change() argument
|
| H A D | cls_fw.c | 243 static int fw_change(struct net *net, struct sk_buff *in_skb, in fw_change() argument
|
| H A D | cls_route.c | 476 static int route4_change(struct net *net, struct sk_buff *in_skb, in route4_change() argument
|
| H A D | cls_bpf.c | 407 static int cls_bpf_change(struct net *net, struct sk_buff *in_skb, in cls_bpf_change() argument
|
| H A D | cls_u32.c | 872 static int u32_change(struct net *net, struct sk_buff *in_skb, in u32_change() 869 u32_change(struct net * net,struct sk_buff * in_skb,struct tcf_proto * tp,unsigned long base,u32 handle,struct nlattr ** tca,void ** arg,u32 flags,struct netlink_ext_ack * extack) u32_change() argument
|
| H A D | cls_flower.c | 2353 static int fl_change(struct net *net, struct sk_buff *in_skb, in fl_ht_insert_unique() 2357 fl_change(struct net * net,struct sk_buff * in_skb,struct tcf_proto * tp,unsigned long base,u32 handle,struct nlattr ** tca,void ** arg,u32 flags,struct netlink_ext_ack * extack) fl_change() argument
|
| /linux/net/netlink/ |
| H A D | af_netlink.c | 2463 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err, in netlink_ack() argument 2470 struct netlink_sock *nlk = nlk_sk(NETLINK_CB(in_skb).sk); in netlink_ack() 2491 rep = nlmsg_put(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in netlink_ack() 2512 nlmsg_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).portid); in netlink_ack() 2519 WRITE_ONCE(NETLINK_CB(in_skb).sk->sk_err, ENOBUFS); in netlink_ack() 2520 sk_error_report(NETLINK_CB(in_skb).sk); in netlink_ack()
|
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | dma.c | 925 struct sk_buff **in_skb) in dma_tx_fragment() argument 927 struct sk_buff *skb = *in_skb; in dma_tx_fragment() 997 *in_skb = bounce_skb; in dma_tx_fragment()
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 5151 static int rtnl_fdb_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtnl_fdb_get() argument 5156 struct net *net = sock_net(in_skb->sk); in rtnl_fdb_get() 5236 NETLINK_CB(in_skb).portid, in rtnl_fdb_get() 5241 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtnl_fdb_get() 6613 static int rtnl_mdb_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtnl_mdb_get() argument 6617 struct net *net = sock_net(in_skb->sk); in rtnl_mdb_get() 6649 return dev->netdev_ops->ndo_mdb_get(dev, tb, NETLINK_CB(in_skb).portid, in rtnl_mdb_get()
|
| H A D | neighbour.c | 3063 static int neigh_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in neigh_get() argument 3066 struct net *net = sock_net(in_skb->sk); in neigh_get() 3067 u32 pid = NETLINK_CB(in_skb).portid; in neigh_get()
|