Home
last modified time | relevance | path

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

/linux-4.1.27/net/netfilter/
Dnfnetlink.c275 struct sk_buff *oskb = skb; in nfnetlink_rcv_batch() local
286 skb = netlink_skb_clone(oskb, GFP_KERNEL); in nfnetlink_rcv_batch()
288 return netlink_ack(oskb, nlh, -ENOMEM); in nfnetlink_rcv_batch()
290 skb->sk = oskb->sk; in nfnetlink_rcv_batch()
386 ss->abort(oskb); in nfnetlink_rcv_batch()
404 netlink_ack(skb, nlmsg_hdr(oskb), -ENOMEM); in nfnetlink_rcv_batch()
423 ss->commit(oskb); in nfnetlink_rcv_batch()
425 ss->abort(oskb); in nfnetlink_rcv_batch()
427 nfnl_err_deliver(&err_list, oskb); in nfnetlink_rcv_batch()
/linux-4.1.27/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-4.1.27/net/tipc/
Dname_distr.c90 struct sk_buff *oskb; in named_cluster_distribute() local
101 oskb = pskb_copy(skb, GFP_ATOMIC); in named_cluster_distribute()
102 if (!oskb) in named_cluster_distribute()
104 msg_set_destnode(buf_msg(oskb), dnode); in named_cluster_distribute()
105 tipc_link_xmit_skb(net, oskb, dnode, dnode); in named_cluster_distribute()
/linux-4.1.27/net/sched/
Dsch_choke.c258 struct sk_buff *oskb; in choke_match_random() local
263 oskb = choke_peek_random(q, pidx); in choke_match_random()
265 return choke_get_classid(nskb) == choke_get_classid(oskb); in choke_match_random()
267 return choke_match_flow(oskb, nskb); in choke_match_random()
Dcls_api.c102 static int tfilter_notify(struct net *net, struct sk_buff *oskb,
388 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() argument
393 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
Dsch_api.c38 static int qdisc_notify(struct net *net, struct sk_buff *oskb,
41 static int tclass_notify(struct net *net, struct sk_buff *oskb,
1399 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify() argument
1404 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1698 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify() argument
1703 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
/linux-4.1.27/net/phonet/
Dpep.c97 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_reply() argument
100 const struct pnpipehdr *oph = pnp_hdr(oskb); in pep_reply()
115 pn_skb_get_src_sockaddr(oskb, &peer); in pep_reply()
202 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_ctrlreq_error() argument
205 const struct pnpipehdr *oph = pnp_hdr(oskb); in pep_ctrlreq_error()
225 pn_skb_get_src_sockaddr(oskb, &dst); in pep_ctrlreq_error()
/linux-4.1.27/include/net/
Ddst.h293 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
295 nskb->_skb_refdst = oskb->_skb_refdst; in skb_dst_copy()
/linux-4.1.27/drivers/isdn/mISDN/
Dlayer2.c1479 struct sk_buff *skb, *nskb, *oskb; in l2_pull_iqueue() local
1519 oskb = nskb; in l2_pull_iqueue()
1520 nskb = mI_alloc_skb(oskb->len + i, GFP_ATOMIC); in l2_pull_iqueue()
1522 dev_kfree_skb(oskb); in l2_pull_iqueue()
1528 memcpy(skb_put(nskb, oskb->len), oskb->data, oskb->len); in l2_pull_iqueue()
1529 dev_kfree_skb(oskb); in l2_pull_iqueue()