Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/
Dnfnetlink.c281 struct sk_buff *oskb = skb; in nfnetlink_rcv_batch() local
294 skb = netlink_skb_clone(oskb, GFP_KERNEL); in nfnetlink_rcv_batch()
296 return netlink_ack(oskb, nlh, -ENOMEM); in nfnetlink_rcv_batch()
407 netlink_ack(skb, nlmsg_hdr(oskb), -ENOMEM); in nfnetlink_rcv_batch()
426 ss->abort(oskb); in nfnetlink_rcv_batch()
432 ss->commit(oskb); in nfnetlink_rcv_batch()
434 ss->abort(oskb); in nfnetlink_rcv_batch()
437 nfnl_err_deliver(&err_list, oskb); in nfnetlink_rcv_batch()
/linux-4.4.14/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.4.14/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_node_xmit_skb(net, oskb, dnode, 0); in named_cluster_distribute()
/linux-4.4.14/net/sched/
Dsch_choke.c252 struct sk_buff *oskb; in choke_match_random() local
257 oskb = choke_peek_random(q, pidx); in choke_match_random()
259 return choke_get_classid(nskb) == choke_get_classid(oskb); in choke_match_random()
261 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,
1401 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify() argument
1406 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1700 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify() argument
1705 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
/linux-4.4.14/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.4.14/include/net/
Ddst.h305 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
307 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()