Home
last modified time | relevance | path

Searched refs:in_skb (Results 1 – 25 of 27) sorted by relevance

12

/linux/net/tls/
H A Dtls_strp.c42 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 Ddiag.c244 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 Dtcp_diag.c607 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 Dnexthop.c3427 static int rtm_get_nexthop(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtm_get_nexthop() argument
3431 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop()
3458 err = nh_fill_node(skb, nh, RTM_NEWNEXTHOP, NETLINK_CB(in_skb).portid, in rtm_get_nexthop()
3465 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop()
3926 static int rtm_get_nexthop_bucket(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtm_get_nexthop_bucket() argument
3929 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop_bucket()
3959 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in rtm_get_nexthop_bucket()
3966 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop_bucket()
H A Ddevinet.c2374 static int inet_netconf_get_devconf(struct sk_buff *in_skb, in inet_netconf_get_devconf() argument
2378 struct net *net = sock_net(in_skb->sk); in inet_netconf_get_devconf()
2387 err = inet_netconf_valid_get_req(in_skb, nlh, tb, extack); in inet_netconf_get_devconf()
2419 NETLINK_CB(in_skb).portid, in inet_netconf_get_devconf()
2428 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_netconf_get_devconf()
H A Dtcp_input.c5354 static bool tcp_prune_ofo_queue(struct sock *sk, const struct sk_buff *in_skb);
5355 static int tcp_prune_queue(struct sock *sk, const struct sk_buff *in_skb);
5939 static bool tcp_prune_ofo_queue(struct sock *sk, const struct sk_buff *in_skb) in tcp_prune_ofo_queue() argument
5956 if (after(TCP_SKB_CB(in_skb)->seq, TCP_SKB_CB(skb)->seq)) in tcp_prune_ofo_queue()
5965 if (tcp_can_ingest(sk, in_skb) && in tcp_prune_ofo_queue()
5993 static int tcp_prune_queue(struct sock *sk, const struct sk_buff *in_skb) in tcp_prune_queue() argument
6003 if (!tcp_can_ingest(sk, in_skb)) in tcp_prune_queue()
6008 if (tcp_can_ingest(sk, in_skb)) in tcp_prune_queue()
6018 if (tcp_can_ingest(sk, in_skb)) in tcp_prune_queue()
6024 tcp_prune_ofo_queue(sk, in_skb); in tcp_prune_queue()
[all …]
H A Droute.c3319 static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in inet_rtm_getroute() argument
3322 struct net *net = sock_net(in_skb->sk); in inet_rtm_getroute()
3340 err = inet_rtm_valid_getroute_req(in_skb, nlh, tb, extack); in inet_rtm_getroute()
3467 err = fib_dump_info(skb, NETLINK_CB(in_skb).portid, in inet_rtm_getroute()
3471 skb, NETLINK_CB(in_skb).portid, in inet_rtm_getroute()
3479 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_rtm_getroute()
H A Dipmr.c2726 static int ipmr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ipmr_rtm_getroute() argument
2729 struct net *net = sock_net(in_skb->sk); in ipmr_rtm_getroute()
2738 err = ipmr_rtm_valid_getroute_req(in_skb, nlh, tb, extack); in ipmr_rtm_getroute()
2766 err = ipmr_fill_mroute(mrt, skb, NETLINK_CB(in_skb).portid, in ipmr_rtm_getroute()
2774 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ipmr_rtm_getroute()
/linux/net/ipv6/
H A Daddrlabel.c572 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 Daddrconf.c657 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()
5561 static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr *nlh, in inet6_rtm_getaddr() argument
5564 struct net *tgt_net = sock_net(in_skb->sk); in inet6_rtm_getaddr()
5566 .portid = NETLINK_CB(in_skb).portid, in inet6_rtm_getaddr()
5581 err = inet6_rtm_valid_getaddr_req(in_skb, nlh, tb, extack); in inet6_rtm_getaddr()
5588 tgt_net = rtnl_get_net_ns_capable(NETLINK_CB(in_skb).sk, in inet6_rtm_getaddr()
[all …]
H A Droute.c6232 static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in inet6_rtm_getroute() argument
6235 struct net *net = sock_net(in_skb->sk); in inet6_rtm_getroute()
6247 err = inet6_rtm_valid_getroute_req(in_skb, nlh, tb, extack); in inet6_rtm_getroute()
6357 NETLINK_CB(in_skb).portid, in inet6_rtm_getroute()
6363 NETLINK_CB(in_skb).portid, in inet6_rtm_getroute()
6376 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_rtm_getroute()
/linux/drivers/net/wireguard/
H A Dsocket.h22 struct sk_buff *in_skb,
/linux/net/mpls/
H A Daf_mpls.c1283 static int mpls_netconf_get_devconf(struct sk_buff *in_skb, in mpls_netconf_get_devconf() argument
1287 struct net *net = sock_net(in_skb->sk); in mpls_netconf_get_devconf()
1295 err = mpls_netconf_valid_get_req(in_skb, nlh, tb, extack); in mpls_netconf_get_devconf()
1327 NETLINK_CB(in_skb).portid, in mpls_netconf_get_devconf()
1336 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in mpls_netconf_get_devconf()
2413 static int mpls_getroute(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in mpls_getroute() argument
2416 struct net *net = sock_net(in_skb->sk); in mpls_getroute()
2417 u32 portid = NETLINK_CB(in_skb).portid; in mpls_getroute()
2434 err = mpls_valid_getroute_req(in_skb, in_nlh, tb, extack); in mpls_getroute()
/linux/net/xfrm/
H A Dxfrm_user.c1177 struct sk_buff *in_skb; member
1500 struct sk_buff *in_skb = sp->in_skb; in dump_one_state() local
1507 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
1555 info.in_skb = cb->skb; in xfrm_dump_sa()
1599 static struct sk_buff *xfrm_state_netlink(struct sk_buff *in_skb, in xfrm_state_netlink() argument
1610 info.in_skb = in_skb; in xfrm_state_netlink()
2409 struct sk_buff *in_skb = sp->in_skb; in dump_one_policy() local
2488 xfrm_policy_netlink(struct sk_buff * in_skb,struct xfrm_policy * xp,int dir,u32 seq) xfrm_policy_netlink() argument
[all...]
/linux/net/sched/
H A Dcls_cgroup.c78 static int cls_cgroup_change(struct net *net, struct sk_buff *in_skb, in cls_cgroup_change() argument
H A Dcls_flow.c395 static int flow_change(struct net *net, struct sk_buff *in_skb, in flow_change()
437 sk_user_ns(NETLINK_CB(in_skb).sk) != &init_user_ns) in flow_change()
390 flow_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) flow_change() argument
H A Dcls_basic.c172 static int basic_change(struct net *net, struct sk_buff *in_skb, in basic_change() argument
H A Dcls_matchall.c162 static int mall_change(struct net *net, struct sk_buff *in_skb, in mall_change() argument
H A Dcls_fw.c243 static int fw_change(struct net *net, struct sk_buff *in_skb, in fw_change() argument
H A Dcls_route.c493 static int route4_change(struct net *net, struct sk_buff *in_skb, in route4_change() argument
H A Dcls_bpf.c423 static int cls_bpf_change(struct net *net, struct sk_buff *in_skb, in cls_bpf_change() argument
H A Dcls_u32.c872 static int u32_change(struct net *net, struct sk_buff *in_skb, in u32_change() argument
/linux/net/netlink/
H A Daf_netlink.c2469 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err, in netlink_ack() argument
2476 struct netlink_sock *nlk = nlk_sk(NETLINK_CB(in_skb).sk); in netlink_ack()
2497 rep = nlmsg_put(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in netlink_ack()
2518 nlmsg_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).portid); in netlink_ack()
2525 WRITE_ONCE(NETLINK_CB(in_skb).sk->sk_err, ENOBUFS); in netlink_ack()
2526 sk_error_report(NETLINK_CB(in_skb).sk); in netlink_ack()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Ddma.c925 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 Drtnetlink.c5286 static int rtnl_fdb_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtnl_fdb_get() argument
5291 struct net *net = sock_net(in_skb->sk); in rtnl_fdb_get()
5371 NETLINK_CB(in_skb).portid, in rtnl_fdb_get()
5376 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtnl_fdb_get()
6749 static int rtnl_mdb_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtnl_mdb_get() argument
6753 struct net *net = sock_net(in_skb->sk); in rtnl_mdb_get()
6785 return dev->netdev_ops->ndo_mdb_get(dev, tb, NETLINK_CB(in_skb).portid, in rtnl_mdb_get()

12