/linux-master/net/netfilter/ |
H A D | nfnetlink.c | 374 struct sk_buff *oskb = skb; local 388 skb = netlink_skb_clone(oskb, GFP_KERNEL); 390 return netlink_ack(oskb, nlh, -ENOMEM, NULL); 404 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); 411 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); 417 netlink_ack(oskb, nlh, -EOPNOTSUPP, NULL); 424 netlink_ack(oskb, nlh, -ERESTART, NULL); 543 netlink_ack(oskb, nlmsg_hdr(oskb), -ENOMEM, 563 ss->abort(net, oskb, NFNL_ABORT_AUTOLOA [all...] |
/linux-master/drivers/net/can/ |
H A D | vxcan.c | 37 static netdev_tx_t vxcan_xmit(struct sk_buff *oskb, struct net_device *dev) argument 45 if (can_dropped_invalid_skb(dev, oskb)) 51 kfree_skb(oskb); 56 skb_tx_timestamp(oskb); 58 skb = skb_clone(oskb, GFP_ATOMIC); 60 consume_skb(oskb); 62 kfree_skb(oskb);
|
/linux-master/net/can/ |
H A D | raw.c | 128 static void raw_rcv(struct sk_buff *oskb, void *data) argument 137 if (!ro->recv_own_msgs && oskb->sk == sk) 141 if (!ro->fd_frames && can_is_canfd_skb(oskb)) 144 if (can_is_canxl_skb(oskb)) { 145 struct canxl_frame *cxl = (struct canxl_frame *)oskb->data; 165 if (this_cpu_ptr(ro->uniq)->skb == oskb && 166 this_cpu_ptr(ro->uniq)->skbcnt == can_skb_prv(oskb)->skbcnt) { 175 this_cpu_ptr(ro->uniq)->skb = oskb; 176 this_cpu_ptr(ro->uniq)->skbcnt = can_skb_prv(oskb)->skbcnt; 184 skb = skb_clone(oskb, GFP_ATOMI [all...] |
/linux-master/net/sched/ |
H A D | sch_choke.c | 203 struct sk_buff *oskb; local 208 oskb = choke_peek_random(q, pidx); 209 return choke_match_flow(oskb, nskb);
|
H A D | sch_api.c | 1006 static int qdisc_get_notify(struct net *net, struct sk_buff *oskb, argument 1011 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; 1032 static int qdisc_notify(struct net *net, struct sk_buff *oskb, argument 1038 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; 1961 static int tclass_notify(struct net *net, struct sk_buff *oskb, argument 1966 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; 1984 static int tclass_get_notify(struct net *net, struct sk_buff *oskb, argument 2005 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) argument [all...] |
H A D | cls_api.c | 593 static int tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb, 653 struct tcf_block *block, struct sk_buff *oskb, 2075 static int tfilter_notify(struct net *net, struct sk_buff *oskb, argument 2082 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; 2107 static int tfilter_del_notify(struct net *net, struct sk_buff *oskb, argument 2114 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; 2146 static void tfilter_notify_chain(struct net *net, struct sk_buff *oskb, argument 2156 tfilter_notify(net, oskb, 2931 tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb, u32 seq, u16 flags, int event, bool unicast, struct netlink_ext_ack *extack) argument 2964 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) argument [all...] |
/linux-master/net/phonet/ |
H A D | pep.c | 85 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, argument 88 const struct pnpipehdr *oph = pnp_hdr(oskb); 103 pn_skb_get_src_sockaddr(oskb, &peer); 190 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, argument 193 const struct pnpipehdr *oph = pnp_hdr(oskb); 213 pn_skb_get_src_sockaddr(oskb, &dst);
|
/linux-master/include/net/ |
H A D | dst.h | 288 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) argument 290 __skb_dst_copy(nskb, oskb->_skb_refdst);
|
/linux-master/net/can/j1939/ |
H A D | socket.c | 310 static void j1939_sk_recv_one(struct j1939_sock *jsk, struct sk_buff *oskb) argument 312 const struct j1939_sk_buff_cb *oskcb = j1939_skb_to_cb(oskb); 316 if (oskb->sk == &jsk->sk) 322 skb = skb_clone(oskb, GFP_ATOMIC); 327 can_skb_set_owner(skb, oskb->sk);
|
/linux-master/net/ipv4/ |
H A D | tcp_output.c | 1290 struct sk_buff *oskb = NULL; local 1302 oskb = skb; 1304 tcp_skb_tsorted_save(oskb) { 1305 if (unlikely(skb_cloned(oskb))) 1306 skb = pskb_copy(oskb, gfp_mask); 1308 skb = skb_clone(oskb, gfp_mask); 1309 } tcp_skb_tsorted_restore(oskb); 1470 if (!err && oskb) { 1471 tcp_update_skb_after_send(sk, oskb, prior_wstamp); 1472 tcp_rate_skb_sent(sk, oskb); [all...] |
/linux-master/drivers/net/ |
H A D | amt.c | 1055 const struct sk_buff *oskb, 1070 skb = skb_copy_expand(oskb, sizeof(*amtmd) + sizeof(*iph) + 1054 amt_send_multicast_data(struct amt_dev *amt, const struct sk_buff *oskb, struct amt_tunnel_list *tunnel, bool v6) argument
|