Home
last modified time | relevance | path

Searched refs:oskb (Results 1 – 10 of 10) sorted by relevance

/linux/net/netfilter/
H A Dnfnetlink.c374 struct sk_buff *oskb = skb; in nfnetlink_rcv_batch() local
389 skb = netlink_skb_clone(oskb, GFP_KERNEL); in nfnetlink_rcv_batch()
392 return netlink_ack(oskb, nlh, -ENOMEM, NULL); in nfnetlink_rcv_batch()
406 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
413 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
419 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
426 netlink_ack(oskb, nlh, -ERESTART, NULL); in nfnetlink_rcv_batch()
550 netlink_ack(oskb, nlmsg_hdr(oskb), -ENOMEM, in nfnetlink_rcv_batch()
570 ss->abort(net, oskb, NFNL_ABORT_AUTOLOAD); in nfnetlink_rcv_batch()
576 err = ss->commit(net, oskb); in nfnetlink_rcv_batch()
[all …]
/linux/drivers/net/can/
H A Dvxcan.c38 static netdev_tx_t vxcan_xmit(struct sk_buff *oskb, struct net_device *dev) in vxcan_xmit() argument
47 if (can_dropped_invalid_skb(dev, oskb)) in vxcan_xmit()
53 kfree_skb(oskb); in vxcan_xmit()
58 skb_tx_timestamp(oskb); in vxcan_xmit()
60 skb = skb_clone(oskb, GFP_ATOMIC); in vxcan_xmit()
62 consume_skb(oskb); in vxcan_xmit()
64 kfree_skb(oskb); in vxcan_xmit()
/linux/net/can/
H A Draw.c129 static void raw_rcv(struct sk_buff *oskb, void *data) in raw_rcv() argument
139 if (!ro->recv_own_msgs && oskb->sk == sk) in raw_rcv()
143 if (!ro->fd_frames && can_is_canfd_skb(oskb)) in raw_rcv()
146 if (can_is_canxl_skb(oskb)) { in raw_rcv()
147 struct canxl_frame *cxl = (struct canxl_frame *)oskb->data; in raw_rcv()
167 if (this_cpu_ptr(ro->uniq)->skb == oskb && in raw_rcv()
168 this_cpu_ptr(ro->uniq)->hash == oskb->hash) { in raw_rcv()
177 this_cpu_ptr(ro->uniq)->skb = oskb; in raw_rcv()
178 this_cpu_ptr(ro->uniq)->hash = oskb->hash; in raw_rcv()
186 skb = skb_clone(oskb, GFP_ATOMIC); in raw_rcv()
[all …]
/linux/net/sched/
H A Dsch_api.c992 static int qdisc_get_notify(struct net *net, struct sk_buff *oskb, in qdisc_get_notify() argument
997 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_get_notify()
1018 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify() argument
1024 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1993 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify() argument
1998 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
2016 static int tclass_get_notify(struct net *net, struct sk_buff *oskb, in tclass_get_notify() argument
2021 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_get_notify()
2039 struct sk_buff *oskb, struct nlmsghdr *n, in tclass_del_notify() argument
2043 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify()
H A Dcls_api.c622 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb,
682 struct tcf_block *block, struct sk_buff *oskb,
2114 struct sk_buff *oskb, in tfilter_notify_prep() argument
2123 unsigned int size = oskb ? max(NLMSG_GOODSIZE, oskb->len) : NLMSG_GOODSIZE; in tfilter_notify_prep()
2146 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() argument
2153 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
2159 skb = tfilter_notify_prep(net, oskb, n, tp, block, q, parent, fh, event, in tfilter_notify()
2172 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, in tfilter_del_notify() argument
2179 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_del_notify()
2185 skb = tfilter_notify_prep(net, oskb, n, tp, block, q, parent, fh, in tfilter_del_notify()
[all …]
H A Dsch_choke.c203 struct sk_buff *oskb; in choke_match_random() local
208 oskb = choke_peek_random(q, pidx); in choke_match_random()
209 return choke_match_flow(oskb, nskb); in choke_match_random()
/linux/net/can/j1939/
H A Dsocket.c311 static void j1939_sk_recv_one(struct j1939_sock *jsk, struct sk_buff *oskb) in j1939_sk_recv_one() argument
313 const struct j1939_sk_buff_cb *oskcb = j1939_skb_to_cb(oskb); in j1939_sk_recv_one()
318 if (oskb->sk == &jsk->sk) in j1939_sk_recv_one()
324 skb = skb_clone(oskb, GFP_ATOMIC); in j1939_sk_recv_one()
329 can_skb_set_owner(skb, oskb->sk); in j1939_sk_recv_one()
/linux/net/netrom/
H A Dnr_route.c755 struct sk_buff *nskb, *oskb; in nr_route_frame() local
822 oskb = skb; in nr_route_frame()
843 kfree_skb(oskb); in nr_route_frame()
/linux/net/ipv4/
H A Dtcp_output.c1521 struct sk_buff *oskb = NULL; in __tcp_transmit_skb()
1533 oskb = skb; in __tcp_transmit_skb()
1535 tcp_skb_tsorted_save(oskb) { in __tcp_transmit_skb()
1536 if (unlikely(skb_cloned(oskb))) in __tcp_transmit_skb()
1537 skb = pskb_copy(oskb, gfp_mask); in __tcp_transmit_skb()
1539 skb = skb_clone(oskb, gfp_mask); in __tcp_transmit_skb()
1540 } tcp_skb_tsorted_restore(oskb); in __tcp_transmit_skb()
1701 if (!err && oskb) { in tcp_adjust_pcount()
1702 tcp_update_skb_after_send(sk, oskb, prior_wstamp); in tcp_adjust_pcount()
1703 tcp_rate_skb_sent(sk, oskb); in tcp_adjust_pcount()
1459 struct sk_buff *oskb = NULL; __tcp_transmit_skb() local
[all...]
/linux/drivers/net/
H A Damt.c1058 const struct sk_buff *oskb, in amt_send_multicast_data() argument
1073 skb = skb_copy_expand(oskb, sizeof(*amtmd) + sizeof(*iph) + in amt_send_multicast_data()