Home
last modified time | relevance | path

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

/Linux-v5.4/net/netfilter/
Dnfnetlink.c300 struct sk_buff *oskb = skb; in nfnetlink_rcv_batch() local
314 skb = netlink_skb_clone(oskb, GFP_KERNEL); in nfnetlink_rcv_batch()
316 return netlink_ack(oskb, nlh, -ENOMEM, NULL); in nfnetlink_rcv_batch()
330 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
337 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
343 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
350 netlink_ack(oskb, nlh, -ERESTART, NULL); in nfnetlink_rcv_batch()
459 netlink_ack(oskb, nlmsg_hdr(oskb), -ENOMEM, in nfnetlink_rcv_batch()
479 ss->abort(net, oskb); in nfnetlink_rcv_batch()
485 err = ss->commit(net, oskb); in nfnetlink_rcv_batch()
[all …]
/Linux-v5.4/net/can/
Draw.c116 static void raw_rcv(struct sk_buff *oskb, void *data) in raw_rcv() argument
125 if (!ro->recv_own_msgs && oskb->sk == sk) in raw_rcv()
129 if (!ro->fd_frames && oskb->len != CAN_MTU) in raw_rcv()
133 if (this_cpu_ptr(ro->uniq)->skb == oskb && in raw_rcv()
134 this_cpu_ptr(ro->uniq)->skbcnt == can_skb_prv(oskb)->skbcnt) { in raw_rcv()
144 this_cpu_ptr(ro->uniq)->skb = oskb; in raw_rcv()
145 this_cpu_ptr(ro->uniq)->skbcnt = can_skb_prv(oskb)->skbcnt; in raw_rcv()
153 skb = skb_clone(oskb, GFP_ATOMIC); in raw_rcv()
172 if (oskb->sk) in raw_rcv()
174 if (oskb->sk == sk) in raw_rcv()
/Linux-v5.4/net/sched/
Dsch_choke.c210 struct sk_buff *oskb; in choke_match_random() local
215 oskb = choke_peek_random(q, pidx); in choke_match_random()
216 return choke_match_flow(oskb, nskb); in choke_match_random()
Dcls_api.c477 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb,
536 struct tcf_block *block, struct sk_buff *oskb,
1833 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() argument
1840 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
1865 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, in tfilter_del_notify() argument
1872 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_del_notify()
1906 static void tfilter_notify_chain(struct net *net, struct sk_buff *oskb, in tfilter_notify_chain() argument
1916 tfilter_notify(net, oskb, n, tp, block, in tfilter_notify_chain()
2663 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb, in tc_chain_notify() argument
2666 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tc_chain_notify()
[all …]
Dsch_api.c956 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify() argument
961 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1831 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify() argument
1836 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
1857 struct sk_buff *oskb, struct nlmsghdr *n, in tclass_del_notify() argument
1860 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify()
/Linux-v5.4/net/phonet/
Dpep.c85 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_reply() argument
88 const struct pnpipehdr *oph = pnp_hdr(oskb); in pep_reply()
103 pn_skb_get_src_sockaddr(oskb, &peer); in pep_reply()
190 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_ctrlreq_error() argument
193 const struct pnpipehdr *oph = pnp_hdr(oskb); in pep_ctrlreq_error()
213 pn_skb_get_src_sockaddr(oskb, &dst); in pep_ctrlreq_error()
/Linux-v5.4/net/can/j1939/
Dsocket.c295 static void j1939_sk_recv_one(struct j1939_sock *jsk, struct sk_buff *oskb) in j1939_sk_recv_one() argument
297 const struct j1939_sk_buff_cb *oskcb = j1939_skb_to_cb(oskb); in j1939_sk_recv_one()
301 if (oskb->sk == &jsk->sk) in j1939_sk_recv_one()
307 skb = skb_clone(oskb, GFP_ATOMIC); in j1939_sk_recv_one()
312 can_skb_set_owner(skb, oskb->sk); in j1939_sk_recv_one()
/Linux-v5.4/include/net/
Ddst.h283 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
285 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()
/Linux-v5.4/net/ipv4/
Dtcp_output.c1022 struct sk_buff *oskb = NULL; in __tcp_transmit_skb() local
1036 oskb = skb; in __tcp_transmit_skb()
1038 tcp_skb_tsorted_save(oskb) { in __tcp_transmit_skb()
1039 if (unlikely(skb_cloned(oskb))) in __tcp_transmit_skb()
1040 skb = pskb_copy(oskb, gfp_mask); in __tcp_transmit_skb()
1042 skb = skb_clone(oskb, gfp_mask); in __tcp_transmit_skb()
1043 } tcp_skb_tsorted_restore(oskb); in __tcp_transmit_skb()
1175 if (!err && oskb) { in __tcp_transmit_skb()
1176 tcp_update_skb_after_send(sk, oskb, prior_wstamp); in __tcp_transmit_skb()
1177 tcp_rate_skb_sent(sk, oskb); in __tcp_transmit_skb()
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot.c619 struct ocelot_skb *oskb = in ocelot_port_xmit() local
622 if (unlikely(!oskb)) in ocelot_port_xmit()
627 oskb->skb = skb; in ocelot_port_xmit()
628 oskb->id = port->ts_id % 4; in ocelot_port_xmit()
631 list_add_tail(&oskb->head, &port->skbs); in ocelot_port_xmit()