Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 16 of 16) sorted by relevance

/net/core/
Dtimestamping.c38 struct sk_buff *clone; in skb_clone_tx_timestamp() local
50 clone = skb_clone_sk(skb); in skb_clone_tx_timestamp()
51 if (!clone) in skb_clone_tx_timestamp()
53 phydev->drv->txtstamp(phydev, clone, type); in skb_clone_tx_timestamp()
Dskbuff.c1646 struct sk_buff *clone = NULL; in __pskb_pull_tail() local
1662 clone = skb_clone(list, GFP_ATOMIC); in __pskb_pull_tail()
1663 if (!clone) in __pskb_pull_tail()
1666 list = clone; in __pskb_pull_tail()
1673 kfree_skb(clone); in __pskb_pull_tail()
1686 if (clone) { in __pskb_pull_tail()
1687 clone->next = list; in __pskb_pull_tail()
1688 skb_shinfo(skb)->frag_list = clone; in __pskb_pull_tail()
3782 struct sk_buff *clone; in skb_clone_sk() local
3787 clone = skb_clone(skb, GFP_ATOMIC); in skb_clone_sk()
[all …]
Dfilter.c1723 struct sk_buff *clone; in BPF_CALL_3() local
1733 clone = skb_clone(skb, GFP_ATOMIC); in BPF_CALL_3()
1734 if (unlikely(!clone)) in BPF_CALL_3()
1744 kfree_skb(clone); in BPF_CALL_3()
1748 return __bpf_redirect(clone, dev, flags); in BPF_CALL_3()
/net/ipv4/
Dip_fragment.c211 struct sk_buff *clone, *head = qp->q.fragments; in ip_expire() local
239 clone = skb_clone(head, GFP_ATOMIC); in ip_expire()
242 if (clone) { in ip_expire()
244 icmp_send(clone, ICMP_TIME_EXCEEDED, in ip_expire()
246 consume_skb(clone); in ip_expire()
587 struct sk_buff *clone; in ip_frag_reasm() local
590 clone = alloc_skb(0, GFP_ATOMIC); in ip_frag_reasm()
591 if (!clone) in ip_frag_reasm()
593 clone->next = head->next; in ip_frag_reasm()
594 head->next = clone; in ip_frag_reasm()
[all …]
Dtcp_cong.c300 char *saved_clone, *clone, *name; in tcp_set_allowed_congestion_control() local
303 saved_clone = clone = kstrdup(val, GFP_USER); in tcp_set_allowed_congestion_control()
304 if (!clone) in tcp_set_allowed_congestion_control()
309 while ((name = strsep(&clone, " ")) && *name) { in tcp_set_allowed_congestion_control()
Draw.c192 struct sk_buff *clone = skb_clone(skb, GFP_ATOMIC); in raw_v4_input() local
195 if (clone) in raw_v4_input()
196 raw_rcv(sk, clone); in raw_v4_input()
/net/ipv6/netfilter/
Dnf_conntrack_reasm.c407 struct sk_buff *clone; in nf_ct_frag6_reasm() local
410 clone = alloc_skb(0, GFP_ATOMIC); in nf_ct_frag6_reasm()
411 if (clone == NULL) in nf_ct_frag6_reasm()
414 clone->next = head->next; in nf_ct_frag6_reasm()
415 head->next = clone; in nf_ct_frag6_reasm()
416 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in nf_ct_frag6_reasm()
420 clone->len = clone->data_len = head->data_len - plen; in nf_ct_frag6_reasm()
421 head->data_len -= clone->len; in nf_ct_frag6_reasm()
422 head->len -= clone->len; in nf_ct_frag6_reasm()
423 clone->csum = 0; in nf_ct_frag6_reasm()
[all …]
/net/rds/
Dtcp_recv.c161 struct sk_buff *clone; in rds_tcp_data_recv() local
213 clone = pskb_extract(skb, offset, to_copy, arg->gfp); in rds_tcp_data_recv()
214 if (!clone) { in rds_tcp_data_recv()
219 skb_queue_tail(&tinc->ti_skb_list, clone); in rds_tcp_data_recv()
224 clone, clone->data, clone->len); in rds_tcp_data_recv()
/net/ieee802154/6lowpan/
Dreassembly.c263 struct sk_buff *clone; in lowpan_frag_reasm() local
266 clone = alloc_skb(0, GFP_ATOMIC); in lowpan_frag_reasm()
267 if (!clone) in lowpan_frag_reasm()
269 clone->next = head->next; in lowpan_frag_reasm()
270 head->next = clone; in lowpan_frag_reasm()
271 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in lowpan_frag_reasm()
275 clone->len = head->data_len - plen; in lowpan_frag_reasm()
276 clone->data_len = clone->len; in lowpan_frag_reasm()
277 head->data_len -= clone->len; in lowpan_frag_reasm()
278 head->len -= clone->len; in lowpan_frag_reasm()
[all …]
/net/ipv6/
Dreassembly.c433 struct sk_buff *clone; in ip6_frag_reasm() local
436 clone = alloc_skb(0, GFP_ATOMIC); in ip6_frag_reasm()
437 if (!clone) in ip6_frag_reasm()
439 clone->next = head->next; in ip6_frag_reasm()
440 head->next = clone; in ip6_frag_reasm()
441 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in ip6_frag_reasm()
445 clone->len = clone->data_len = head->data_len - plen; in ip6_frag_reasm()
446 head->data_len -= clone->len; in ip6_frag_reasm()
447 head->len -= clone->len; in ip6_frag_reasm()
448 clone->csum = 0; in ip6_frag_reasm()
[all …]
Draw.c214 struct sk_buff *clone = skb_clone(skb, GFP_ATOMIC); in ipv6_raw_deliver() local
217 if (clone) { in ipv6_raw_deliver()
218 nf_reset(clone); in ipv6_raw_deliver()
219 rawv6_rcv(sk, clone); in ipv6_raw_deliver()
/net/ieee802154/
Dsocket.c379 struct sk_buff *clone; in ieee802154_raw_deliver() local
381 clone = skb_clone(skb, GFP_ATOMIC); in ieee802154_raw_deliver()
382 if (clone) in ieee802154_raw_deliver()
383 raw_rcv_skb(sk, clone); in ieee802154_raw_deliver()
811 struct sk_buff *clone; in ieee802154_dgram_deliver() local
813 clone = skb_clone(skb, GFP_ATOMIC); in ieee802154_dgram_deliver()
814 if (clone) in ieee802154_dgram_deliver()
815 dgram_rcv_skb(prev, clone); in ieee802154_dgram_deliver()
/net/phonet/
Dsocket.c125 struct sk_buff *clone; in pn_deliver_sock_broadcast() local
132 clone = skb_clone(skb, GFP_ATOMIC); in pn_deliver_sock_broadcast()
133 if (clone) { in pn_deliver_sock_broadcast()
135 sk_receive_skb(sknode, clone, 0); in pn_deliver_sock_broadcast()
/net/netfilter/
Dnft_counter.c163 .clone = nft_counter_clone,
DKconfig913 this clone be rerouted to another nexthop.
/net/9p/
Dclient.c1151 char **wnames, int clone) in p9_client_walk() argument
1163 if (clone) { in p9_client_walk()