| /linux/drivers/net/can/ |
| H A D | vxcan.c | 39 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 D | raw.c | 131 static void raw_rcv(struct sk_buff *oskb, void *data) in raw_rcv() 138 struct can_skb_ext *csx = can_skb_ext_find(oskb); in raw_rcv() 142 if (!ro->recv_own_msgs && oskb->sk == sk) in raw_rcv() 149 if (!ro->fd_frames && can_is_canfd_skb(oskb)) in raw_rcv() 152 if (can_is_canxl_skb(oskb)) { in raw_rcv() 153 struct canxl_frame *cxl = (struct canxl_frame *)oskb->data; in raw_rcv() 173 if (this_cpu_ptr(ro->uniq)->skb == oskb && in raw_rcv() 183 this_cpu_ptr(ro->uniq)->skb = oskb; in raw_rcv() 192 skb = skb_clone(oskb, GFP_ATOMIC); in raw_rcv() 211 if (oskb in raw_rcv() 129 raw_rcv(struct sk_buff * oskb,void * data) raw_rcv() argument [all...] |
| /linux/net/sched/ |
| H A D | sch_api.c | 1067 static int qdisc_get_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify() 1072 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() 1093 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_clear_nolock() 1099 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; 2084 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_del_notify() 2088 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify() 2109 static int tclass_get_notify(struct net *net, struct sk_buff *oskb, in tclass_del_notify() 1013 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 1039 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 2030 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 2055 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 2080 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 D | cls_api.c | 637 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() 2166 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() 2173 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify() 2179 skb = tfilter_notify_prep(net, oskb, n, tp, block, q, parent, fh, event, in tfilter_notify() 2192 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, in tfilter_del_notify() 2161 tfilter_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,int event,bool unicast,bool rtnl_held,struct netlink_ext_ack * extack) tfilter_notify() argument 2187 tfilter_del_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,bool * last,bool rtnl_held,struct netlink_ext_ack * extack) 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 3041 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 3076 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 D | sch_choke.c | 203 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 D | pep.c | 87 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/include/net/ |
| H A D | dst.h | 297 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument 299 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()
|
| /linux/net/ipv4/ |
| H A D | tcp_output.c | 1601 struct sk_buff *oskb = NULL; in __tcp_transmit_skb() 1613 oskb = skb; in __tcp_transmit_skb() 1615 tcp_skb_tsorted_save(oskb) { in __tcp_transmit_skb() 1616 if (unlikely(skb_cloned(oskb))) in __tcp_transmit_skb() 1617 skb = pskb_copy(oskb, gfp_mask); in __tcp_transmit_skb() 1619 skb = skb_clone(oskb, gfp_mask); in __tcp_transmit_skb() 1620 } tcp_skb_tsorted_restore(oskb); in __tcp_transmit_skb() 1780 if (!err && oskb) { in tcp_adjust_pcount() 1781 tcp_update_skb_after_send(sk, oskb, prior_wstamp); in tcp_adjust_pcount() 1782 tcp_rate_skb_sent(sk, oskb); in tcp_adjust_pcount() 1545 struct sk_buff *oskb = NULL; __tcp_transmit_skb() local [all...] |
| /linux/drivers/net/ |
| H A D | amt.c | 1180 const struct sk_buff *oskb, in amt_dev_xmit() 1195 skb = skb_copy_expand(oskb, sizeof(*amtmd) + sizeof(*iph) + in amt_dev_xmit() 1063 amt_send_multicast_data(struct amt_dev * amt,const struct sk_buff * oskb,struct amt_tunnel_list * tunnel,bool v6) amt_send_multicast_data() argument
|