Home
last modified time | relevance | path

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

/net/netfilter/
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_AUTOLOAD); in nfnetlink_rcv_batch()
569 err = ss->commit(net, oskb); in nfnetlink_rcv_batch()
[all …]
/net/can/
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->sk) in raw_rcv()
[all …]
/net/sched/
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()
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, n, tp, block, q, parent, NULL, in tfilter_notify_chain()
2884 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb, in tc_chain_notify() argument
2888 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tc_chain_notify()
[all …]
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() argument
1958 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify()
/net/phonet/
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()
/net/can/j1939/
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()
/net/ipv4/
Dtcp_output.c1260 struct sk_buff *oskb = NULL; in __tcp_transmit_skb() local
1272 oskb = skb; in __tcp_transmit_skb()
1274 tcp_skb_tsorted_save(oskb) { in __tcp_transmit_skb()
1275 if (unlikely(skb_cloned(oskb))) in __tcp_transmit_skb()
1276 skb = pskb_copy(oskb, gfp_mask); in __tcp_transmit_skb()
1278 skb = skb_clone(oskb, gfp_mask); in __tcp_transmit_skb()
1279 } tcp_skb_tsorted_restore(oskb); in __tcp_transmit_skb()
1431 if (!err && oskb) { in __tcp_transmit_skb()
1432 tcp_update_skb_after_send(sk, oskb, prior_wstamp); in __tcp_transmit_skb()
1433 tcp_rate_skb_sent(sk, oskb); in __tcp_transmit_skb()