Home
last modified time | relevance | path

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

/linux/drivers/net/can/
H A Dvxcan.c39 static netdev_tx_t vxcan_xmit(struct sk_buff *oskb, struct net_device *dev) in vxcan_xmit() argument
48 if (can_dropped_invalid_skb(dev, oskb)) in vxcan_xmit()
54 kfree_skb(oskb); in vxcan_xmit()
59 skb_tx_timestamp(oskb); in vxcan_xmit()
61 skb = skb_clone(oskb, GFP_ATOMIC); in vxcan_xmit()
63 consume_skb(oskb); in vxcan_xmit()
65 kfree_skb(oskb); in vxcan_xmit()
/linux/net/can/
H A Draw.c129 static void raw_rcv(struct sk_buff *oskb, void *data) in raw_rcv() argument
139 if (!ro->recv_own_msgs && oskb->sk == sk) in raw_rcv()
143 if (!ro->fd_frames && can_is_canfd_skb(oskb)) in raw_rcv()
146 if (can_is_canxl_skb(oskb)) { in raw_rcv()
147 struct canxl_frame *cxl = (struct canxl_frame *)oskb->data; in raw_rcv()
167 if (this_cpu_ptr(ro->uniq)->skb == oskb && in raw_rcv()
168 this_cpu_ptr(ro->uniq)->hash == oskb->hash) { in raw_rcv()
177 this_cpu_ptr(ro->uniq)->skb = oskb; in raw_rcv()
178 this_cpu_ptr(ro->uniq)->hash = oskb->hash; in raw_rcv()
186 skb = skb_clone(oskb, GFP_ATOMIC); in raw_rcv()
[all …]
/linux/net/sched/
H A Dsch_api.c1013 static int qdisc_get_notify(struct net *net, struct sk_buff *oskb, in qdisc_get_notify()
1018 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_get_notify()
1039 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify()
1045 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
2030 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify()
2034 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
2055 static int tclass_get_notify(struct net *net, struct sk_buff *oskb, in tclass_get_notify()
1010 qdisc_get_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,u32 clid,struct Qdisc * q,struct netlink_ext_ack * extack) qdisc_get_notify() argument
1036 qdisc_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,u32 clid,struct Qdisc * old,struct Qdisc * new,struct netlink_ext_ack * extack) qdisc_notify() argument
2027 tclass_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct Qdisc * q,unsigned long cl,int event,struct netlink_ext_ack * extack) tclass_notify() argument
2052 tclass_get_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct Qdisc * q,unsigned long cl,struct netlink_ext_ack * extack) tclass_get_notify() argument
2077 tclass_del_notify(struct net * net,const struct Qdisc_class_ops * cops,struct sk_buff * oskb,struct nlmsghdr * n,struct Qdisc * q,unsigned long cl,struct netlink_ext_ack * extack) tclass_del_notify() argument
[all...]
H A Dcls_api.c637 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb,
697 struct tcf_block *block, struct sk_buff *oskb,
2129 struct sk_buff *oskb, in tfilter_notify_prep() argument
2138 unsigned int size = oskb ? max(NLMSG_GOODSIZE, oskb->len) : NLMSG_GOODSIZE; in tfilter_notify_prep()
2161 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() argument
2168 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
2174 skb = tfilter_notify_prep(net, oskb, n, tp, block, q, parent, fh, event, in tfilter_notify()
2187 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, in tfilter_del_notify() argument
2221 tfilter_notify_chain(struct net * net,struct sk_buff * oskb,struct tcf_block * block,struct Qdisc * q,u32 parent,struct nlmsghdr * n,struct tcf_chain * chain,int event,struct netlink_ext_ack * extack) tfilter_notify_chain() argument
3028 tc_chain_notify(struct tcf_chain * chain,struct sk_buff * oskb,u32 seq,u16 flags,int event,bool unicast,struct netlink_ext_ack * extack) tc_chain_notify() argument
3063 tc_chain_notify_delete(const struct tcf_proto_ops * tmplt_ops,void * tmplt_priv,u32 chain_index,struct tcf_block * block,struct sk_buff * oskb,u32 seq,u16 flags) tc_chain_notify_delete() argument
[all...]
H A 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()
/linux/net/phonet/
H A Dpep.c87 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_reply() argument
90 const struct pnpipehdr *oph = pnp_hdr(oskb); in pep_reply()
105 pn_skb_get_src_sockaddr(oskb, &peer); in pep_reply()
192 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_ctrlreq_error() argument
195 const struct pnpipehdr *oph = pnp_hdr(oskb); in pep_ctrlreq_error()
215 pn_skb_get_src_sockaddr(oskb, &dst); in pep_ctrlreq_error()
/linux/net/ipv4/
H A Dtcp_output.c1545 struct sk_buff *oskb = NULL; in __tcp_transmit_skb() local
1557 oskb = skb; in __tcp_transmit_skb()
1559 tcp_skb_tsorted_save(oskb) { in __tcp_transmit_skb()
1560 if (unlikely(skb_cloned(oskb))) in __tcp_transmit_skb()
1561 skb = pskb_copy(oskb, gfp_mask); in __tcp_transmit_skb()
1563 skb = skb_clone(oskb, gfp_mask); in __tcp_transmit_skb()
1564 } tcp_skb_tsorted_restore(oskb); in __tcp_transmit_skb()
1724 if (!err && oskb) { in __tcp_transmit_skb()
1725 tcp_update_skb_after_send(sk, oskb, prior_wstamp); in __tcp_transmit_skb()
1726 tcp_rate_skb_sent(sk, oskb); in __tcp_transmit_skb()
[all...]
/linux/drivers/net/
H A Damt.c1061 const struct sk_buff *oskb, in amt_send_multicast_data() argument
1076 skb = skb_copy_expand(oskb, sizeof(*amtmd) + sizeof(*iph) + in amt_send_multicast_data()