Home
last modified time | relevance | path

Searched refs:oskb (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
H A Dnfnetlink.c323 struct sk_buff *oskb = skb; in nfnetlink_rcv_batch() local
337 skb = netlink_skb_clone(oskb, GFP_KERNEL); in nfnetlink_rcv_batch()
339 return netlink_ack(oskb, nlh, -ENOMEM, NULL); in nfnetlink_rcv_batch()
353 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
360 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
366 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
373 netlink_ack(oskb, nlh, -ERESTART, NULL); in nfnetlink_rcv_batch()
483 netlink_ack(oskb, nlmsg_hdr(oskb), -ENOMEM, in nfnetlink_rcv_batch()
503 ss->abort(net, oskb, NFNL_ABORT_AUTOLOA in nfnetlink_rcv_batch()
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnfnetlink.c374 struct sk_buff *oskb = skb; in nfnetlink_rcv_batch() local
388 skb = netlink_skb_clone(oskb, GFP_KERNEL); in nfnetlink_rcv_batch()
390 return netlink_ack(oskb, nlh, -ENOMEM, NULL); in nfnetlink_rcv_batch()
404 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
411 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
417 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
424 netlink_ack(oskb, nlh, -ERESTART, NULL); in nfnetlink_rcv_batch()
543 netlink_ack(oskb, nlmsg_hdr(oskb), -ENOMEM, in nfnetlink_rcv_batch()
563 ss->abort(net, oskb, NFNL_ABORT_AUTOLOA in nfnetlink_rcv_batch()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/
H A Dvxcan.c37 static netdev_tx_t vxcan_xmit(struct sk_buff *oskb, struct net_device *dev) in vxcan_xmit() argument
45 if (can_dropped_invalid_skb(dev, oskb)) in vxcan_xmit()
51 kfree_skb(oskb); in vxcan_xmit()
56 skb_tx_timestamp(oskb); in vxcan_xmit()
58 skb = skb_clone(oskb, GFP_ATOMIC); in vxcan_xmit()
60 consume_skb(oskb); in vxcan_xmit()
62 kfree_skb(oskb); in vxcan_xmit()
/kernel/linux/linux-6.6/net/can/
H A Draw.c124 static void raw_rcv(struct sk_buff *oskb, void *data) in raw_rcv() argument
133 if (!ro->recv_own_msgs && oskb->sk == sk) in raw_rcv()
137 if ((!ro->fd_frames && can_is_canfd_skb(oskb)) || in raw_rcv()
138 (!ro->xl_frames && can_is_canxl_skb(oskb))) in raw_rcv()
142 if (this_cpu_ptr(ro->uniq)->skb == oskb && in raw_rcv()
143 this_cpu_ptr(ro->uniq)->skbcnt == can_skb_prv(oskb)->skbcnt) { in raw_rcv()
152 this_cpu_ptr(ro->uniq)->skb = oskb; in raw_rcv()
153 this_cpu_ptr(ro->uniq)->skbcnt = can_skb_prv(oskb)->skbcnt; in raw_rcv()
161 skb = skb_clone(oskb, GFP_ATOMIC); in raw_rcv()
180 if (oskb in raw_rcv()
[all...]
/kernel/linux/linux-5.10/net/can/
H A Draw.c120 static void raw_rcv(struct sk_buff *oskb, void *data) in raw_rcv() argument
129 if (!ro->recv_own_msgs && oskb->sk == sk) in raw_rcv()
133 if (!ro->fd_frames && oskb->len != CAN_MTU) in raw_rcv()
137 if (this_cpu_ptr(ro->uniq)->skb == oskb && in raw_rcv()
138 this_cpu_ptr(ro->uniq)->skbcnt == can_skb_prv(oskb)->skbcnt) { in raw_rcv()
148 this_cpu_ptr(ro->uniq)->skb = oskb; in raw_rcv()
149 this_cpu_ptr(ro->uniq)->skbcnt = can_skb_prv(oskb)->skbcnt; in raw_rcv()
157 skb = skb_clone(oskb, GFP_ATOMIC); in raw_rcv()
176 if (oskb->sk) in raw_rcv()
178 if (oskb in raw_rcv()
[all...]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dtcp_nip_output.c494 struct sk_buff *oskb = NULL; in __tcp_nip_transmit_skb() local
507 oskb = skb; in __tcp_nip_transmit_skb()
509 tcp_skb_tsorted_save(oskb) { in __tcp_nip_transmit_skb()
510 if (unlikely(skb_cloned(oskb))) in __tcp_nip_transmit_skb()
511 skb = pskb_copy(oskb, gfp_mask); in __tcp_nip_transmit_skb()
513 skb = skb_clone(oskb, gfp_mask); in __tcp_nip_transmit_skb()
514 } tcp_skb_tsorted_restore(oskb); in __tcp_nip_transmit_skb()
/kernel/linux/linux-5.10/net/sched/
H A Dsch_choke.c204 struct sk_buff *oskb; in choke_match_random() local
209 oskb = choke_peek_random(q, pidx); in choke_match_random()
210 return choke_match_flow(oskb, nskb); in choke_match_random()
H A Dcls_api.c469 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb,
528 struct tcf_block *block, struct sk_buff *oskb,
1853 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() argument
1860 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
1885 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, in tfilter_del_notify() argument
1892 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_del_notify()
1926 static void tfilter_notify_chain(struct net *net, struct sk_buff *oskb, in tfilter_notify_chain() argument
1936 tfilter_notify(net, oskb, in tfilter_notify_chain()
2699 tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb, u32 seq, u16 flags, int event, bool unicast) tc_chain_notify() argument
2730 tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops, void *tmplt_priv, u32 chain_index, struct tcf_block *block, struct sk_buff *oskb, u32 seq, u16 flags, bool unicast) tc_chain_notify_delete() argument
[all...]
H A Dsch_api.c973 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify() argument
978 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1896 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify() argument
1901 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
1922 struct sk_buff *oskb, struct nlmsghdr *n, in tclass_del_notify()
1925 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify()
1920 tclass_del_notify(struct net *net, const struct Qdisc_class_ops *cops, struct sk_buff *oskb, struct nlmsghdr *n, struct Qdisc *q, unsigned long cl) tclass_del_notify() argument
/kernel/linux/linux-6.6/net/sched/
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()
H A Dcls_api.c592 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb,
652 struct tcf_block *block, struct sk_buff *oskb,
2031 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() argument
2038 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
2060 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, in tfilter_del_notify() argument
2067 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_del_notify()
2099 static void tfilter_notify_chain(struct net *net, struct sk_buff *oskb, in tfilter_notify_chain() argument
2109 tfilter_notify(net, oskb, in tfilter_notify_chain()
2884 tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb, u32 seq, u16 flags, int event, bool unicast, struct netlink_ext_ack *extack) tc_chain_notify() argument
2914 tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops, void *tmplt_priv, u32 chain_index, struct tcf_block *block, struct sk_buff *oskb, u32 seq, u16 flags, bool unicast) tc_chain_notify_delete() argument
[all...]
H A Dsch_api.c1006 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify() argument
1012 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1932 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify() argument
1937 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
1954 struct sk_buff *oskb, struct nlmsghdr *n, in tclass_del_notify()
1958 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify()
1952 tclass_del_notify(struct net *net, const struct Qdisc_class_ops *cops, struct sk_buff *oskb, struct nlmsghdr *n, struct Qdisc *q, unsigned long cl, struct netlink_ext_ack *extack) tclass_del_notify() argument
/kernel/linux/linux-5.10/net/phonet/
H A 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()
/kernel/linux/linux-6.6/net/phonet/
H A 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()
/kernel/linux/linux-5.10/net/can/j1939/
H A Dsocket.c310 static void j1939_sk_recv_one(struct j1939_sock *jsk, struct sk_buff *oskb) in j1939_sk_recv_one() argument
312 const struct j1939_sk_buff_cb *oskcb = j1939_skb_to_cb(oskb); in j1939_sk_recv_one()
316 if (oskb->sk == &jsk->sk) in j1939_sk_recv_one()
322 skb = skb_clone(oskb, GFP_ATOMIC); in j1939_sk_recv_one()
327 can_skb_set_owner(skb, oskb->sk); in j1939_sk_recv_one()
/kernel/linux/linux-6.6/net/can/j1939/
H A Dsocket.c310 static void j1939_sk_recv_one(struct j1939_sock *jsk, struct sk_buff *oskb) in j1939_sk_recv_one() argument
312 const struct j1939_sk_buff_cb *oskcb = j1939_skb_to_cb(oskb); in j1939_sk_recv_one()
316 if (oskb->sk == &jsk->sk) in j1939_sk_recv_one()
322 skb = skb_clone(oskb, GFP_ATOMIC); in j1939_sk_recv_one()
327 can_skb_set_owner(skb, oskb->sk); in j1939_sk_recv_one()
/kernel/linux/linux-5.10/include/net/
H A Ddst.h276 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
278 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()
/kernel/linux/linux-6.6/include/net/
H A Ddst.h295 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
297 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_output.c1247 struct sk_buff *oskb = NULL; in __tcp_transmit_skb() local
1261 oskb = skb; in __tcp_transmit_skb()
1263 tcp_skb_tsorted_save(oskb) { in __tcp_transmit_skb()
1264 if (unlikely(skb_cloned(oskb))) in __tcp_transmit_skb()
1265 skb = pskb_copy(oskb, gfp_mask); in __tcp_transmit_skb()
1267 skb = skb_clone(oskb, gfp_mask); in __tcp_transmit_skb()
1268 } tcp_skb_tsorted_restore(oskb); in __tcp_transmit_skb()
1411 if (!err && oskb) { in __tcp_transmit_skb()
1412 tcp_update_skb_after_send(sk, oskb, prior_wstamp); in __tcp_transmit_skb()
1413 tcp_rate_skb_sent(sk, oskb); in __tcp_transmit_skb()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_output.c1252 struct sk_buff *oskb = NULL; in __tcp_transmit_skb() local
1264 oskb = skb; in __tcp_transmit_skb()
1266 tcp_skb_tsorted_save(oskb) { in __tcp_transmit_skb()
1267 if (unlikely(skb_cloned(oskb))) in __tcp_transmit_skb()
1268 skb = pskb_copy(oskb, gfp_mask); in __tcp_transmit_skb()
1270 skb = skb_clone(oskb, gfp_mask); in __tcp_transmit_skb()
1271 } tcp_skb_tsorted_restore(oskb); in __tcp_transmit_skb()
1423 if (!err && oskb) { in __tcp_transmit_skb()
1424 tcp_update_skb_after_send(sk, oskb, prior_wstamp); in __tcp_transmit_skb()
1425 tcp_rate_skb_sent(sk, oskb); in __tcp_transmit_skb()
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Damt.c1055 const struct sk_buff *oskb, in amt_send_multicast_data()
1070 skb = skb_copy_expand(oskb, sizeof(*amtmd) + sizeof(*iph) + in amt_send_multicast_data()
1054 amt_send_multicast_data(struct amt_dev *amt, const struct sk_buff *oskb, struct amt_tunnel_list *tunnel, bool v6) amt_send_multicast_data() argument

Completed in 40 milliseconds