Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dnfnetlink.c299 struct sk_buff *oskb = skb; in nfnetlink_rcv_batch() local
313 skb = netlink_skb_clone(oskb, GFP_KERNEL); in nfnetlink_rcv_batch()
315 return netlink_ack(oskb, nlh, -ENOMEM, NULL); in nfnetlink_rcv_batch()
329 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
336 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
342 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
349 netlink_ack(oskb, nlh, -ERESTART, NULL); in nfnetlink_rcv_batch()
456 netlink_ack(oskb, nlmsg_hdr(oskb), -ENOMEM, in nfnetlink_rcv_batch()
476 ss->abort(net, oskb); in nfnetlink_rcv_batch()
482 err = ss->commit(net, oskb); in nfnetlink_rcv_batch()
[all …]
/Linux-v4.19/net/can/
Draw.c118 static void raw_rcv(struct sk_buff *oskb, void *data) in raw_rcv() argument
127 if (!ro->recv_own_msgs && oskb->sk == sk) in raw_rcv()
131 if (!ro->fd_frames && oskb->len != CAN_MTU) in raw_rcv()
135 if (this_cpu_ptr(ro->uniq)->skb == oskb && in raw_rcv()
136 this_cpu_ptr(ro->uniq)->skbcnt == can_skb_prv(oskb)->skbcnt) { in raw_rcv()
146 this_cpu_ptr(ro->uniq)->skb = oskb; in raw_rcv()
147 this_cpu_ptr(ro->uniq)->skbcnt = can_skb_prv(oskb)->skbcnt; in raw_rcv()
155 skb = skb_clone(oskb, GFP_ATOMIC); in raw_rcv()
175 if (oskb->sk) in raw_rcv()
177 if (oskb->sk == sk) in raw_rcv()
/Linux-v4.19/net/sched/
Dcls_api.c274 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb,
1114 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() argument
1120 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
1139 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, in tfilter_del_notify() argument
1146 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_del_notify()
1176 static void tfilter_notify_chain(struct net *net, struct sk_buff *oskb, in tfilter_notify_chain() argument
1185 tfilter_notify(net, oskb, n, tp, block, in tfilter_notify_chain()
1757 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb, in tc_chain_notify() argument
1760 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tc_chain_notify()
Dsch_choke.c214 struct sk_buff *oskb; in choke_match_random() local
219 oskb = choke_peek_random(q, pidx); in choke_match_random()
220 return choke_match_flow(oskb, nskb); in choke_match_random()
Dsch_api.c885 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify() argument
890 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1750 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify() argument
1755 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
1772 struct sk_buff *oskb, struct nlmsghdr *n, in tclass_del_notify() argument
1775 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify()
/Linux-v4.19/net/phonet/
Dpep.c98 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_reply() argument
101 const struct pnpipehdr *oph = pnp_hdr(oskb); in pep_reply()
116 pn_skb_get_src_sockaddr(oskb, &peer); in pep_reply()
203 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_ctrlreq_error() argument
206 const struct pnpipehdr *oph = pnp_hdr(oskb); in pep_ctrlreq_error()
226 pn_skb_get_src_sockaddr(oskb, &dst); in pep_ctrlreq_error()
/Linux-v4.19/include/net/
Ddst.h294 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
296 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()
/Linux-v4.19/net/ipv4/
Dtcp_output.c1025 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()
1165 if (!err && oskb) { in __tcp_transmit_skb()
1166 tcp_update_skb_after_send(tp, oskb); in __tcp_transmit_skb()
1167 tcp_rate_skb_sent(sk, oskb); in __tcp_transmit_skb()