Home
last modified time | relevance | path

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

/linux/net/netfilter/
A Dnfnetlink.c368 struct sk_buff *oskb = skb; in nfnetlink_rcv_batch() local
382 skb = netlink_skb_clone(oskb, GFP_KERNEL); in nfnetlink_rcv_batch()
405 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
411 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); in nfnetlink_rcv_batch()
418 netlink_ack(oskb, nlh, -ERESTART, NULL); in nfnetlink_rcv_batch()
536 netlink_ack(oskb, nlmsg_hdr(oskb), -ENOMEM, in nfnetlink_rcv_batch()
562 err = ss->commit(net, oskb); in nfnetlink_rcv_batch()
567 ss->abort(net, oskb, NFNL_ABORT_NONE); in nfnetlink_rcv_batch()
568 netlink_ack(oskb, nlmsg_hdr(oskb), err, NULL); in nfnetlink_rcv_batch()
578 err = ss->abort(net, oskb, abort_action); in nfnetlink_rcv_batch()
[all …]
/linux/net/can/
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->sk == sk) in raw_rcv()
/linux/net/sched/
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()
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()
1839 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify() argument
1844 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
1861 struct sk_buff *oskb, struct nlmsghdr *n, in tclass_del_notify() argument
1865 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify()
A Dcls_api.c471 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb,
530 struct tcf_block *block, struct sk_buff *oskb,
1847 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() argument
1854 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
1876 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, in tfilter_del_notify() argument
1883 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_del_notify()
1915 static void tfilter_notify_chain(struct net *net, struct sk_buff *oskb, in tfilter_notify_chain() argument
1924 tfilter_notify(net, oskb, n, tp, block, in tfilter_notify_chain()
2692 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tc_chain_notify()
2720 struct tcf_block *block, struct sk_buff *oskb, in tc_chain_notify_delete() argument
[all …]
/linux/net/phonet/
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()
/linux/net/can/j1939/
A Dsocket.c296 static void j1939_sk_recv_one(struct j1939_sock *jsk, struct sk_buff *oskb) in j1939_sk_recv_one() argument
298 const struct j1939_sk_buff_cb *oskcb = j1939_skb_to_cb(oskb); in j1939_sk_recv_one()
302 if (oskb->sk == &jsk->sk) in j1939_sk_recv_one()
308 skb = skb_clone(oskb, GFP_ATOMIC); in j1939_sk_recv_one()
313 can_skb_set_owner(skb, oskb->sk); in j1939_sk_recv_one()
/linux/include/net/
A Ddst.h286 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
288 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()
/linux/net/ipv4/
A Dtcp_output.c1246 struct sk_buff *oskb = NULL; in __tcp_transmit_skb() local
1258 oskb = skb; in __tcp_transmit_skb()
1260 tcp_skb_tsorted_save(oskb) { in __tcp_transmit_skb()
1261 if (unlikely(skb_cloned(oskb))) in __tcp_transmit_skb()
1262 skb = pskb_copy(oskb, gfp_mask); in __tcp_transmit_skb()
1264 skb = skb_clone(oskb, gfp_mask); in __tcp_transmit_skb()
1265 } tcp_skb_tsorted_restore(oskb); in __tcp_transmit_skb()
1410 if (!err && oskb) { in __tcp_transmit_skb()
1411 tcp_update_skb_after_send(sk, oskb, prior_wstamp); in __tcp_transmit_skb()
1412 tcp_rate_skb_sent(sk, oskb); in __tcp_transmit_skb()
/linux/drivers/net/
A Damt.c1025 const struct sk_buff *oskb, in amt_send_multicast_data() argument
1040 skb = skb_copy_expand(oskb, sizeof(*amtmd) + sizeof(*iph) + in amt_send_multicast_data()

Completed in 46 milliseconds