Home
last modified time | relevance | path

Searched refs:skb_cow (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/net/batman-adv/
Drouting.c201 if (skb_cow(skb, 0) < 0) in batadv_check_management_packet()
251 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_recv_my_icmp_packet()
319 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_recv_icmp_ttl_exceeded()
393 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_recv_icmp_packet()
421 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_recv_icmp_packet()
701 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_route_unicast_packet()
822 if (skb_cow(skb, sizeof(*unicast_packet)) < 0) in batadv_check_unicast_ttvn()
1078 if (skb_cow(skb, hdr_size) < 0) in batadv_recv_unicast_tvlv()
Dnetwork-coding.c1664 if (skb_cow(skb, 0) < 0) in batadv_nc_skb_decode_packet()
/Linux-v5.4/drivers/net/wireless/mediatek/mt7601u/
Dutil.c24 ret = skb_cow(skb, 2); in mt76_insert_hdr_pad()
Dtx.c126 return skb_cow(skb, need_head); in mt7601u_skb_rooms()
/Linux-v5.4/drivers/net/hamradio/
Dbpqether.c183 if (skb_cow(skb, sizeof(struct ethhdr))) in bpq_rcv()
243 if (skb_cow(skb, AX25_BPQ_HEADER_LEN)) { in bpq_xmit()
/Linux-v5.4/net/ipv4/
Dip_forward.c139 if (skb_cow(skb, LL_RESERVED_SPACE(rt->dst.dev)+rt->dst.header_len)) in ip_forward()
Dip_input.c269 if (skb_cow(skb, skb_headroom(skb))) { in ip_rcv_options()
Dcipso_ipv4.c2189 ret_val = skb_cow(skb, skb_headroom(skb) + len_delta); in cipso_v4_skbuff_setattr()
2250 ret_val = skb_cow(skb, skb_headroom(skb)); in cipso_v4_skbuff_delattr()
Dipmr.c1895 if (skb_cow(skb, encap)) { in ipmr_queue_xmit()
/Linux-v5.4/drivers/net/wan/
Dhdlc_x25.c67 if (skb_cow(skb, 1)) in x25_data_indication()
Dlapbether.c133 if (skb_cow(skb, 1)) in lapbeth_data_indication()
/Linux-v5.4/net/6lowpan/
Dnhc_udp.c106 err = skb_cow(skb, needed); in udp_uncompress()
Diphc.c746 err = skb_cow(skb, sizeof(hdr)); in lowpan_header_decompress()
/Linux-v5.4/net/mpls/
Dmpls_iptunnel.c111 if (skb_cow(skb, hh_len + new_header_size)) in mpls_xmit()
Daf_mpls.c426 if (skb_cow(skb, hh_len + new_header_size)) in mpls_forward()
2423 if (skb_cow(skb, hdr_size)) { in mpls_getroute()
/Linux-v5.4/net/netfilter/ipvs/
Dip_vs_xmit.c822 if (skb_cow(skb, rt->dst.dev->hard_header_len)) in ip_vs_nat_xmit()
911 if (skb_cow(skb, rt->dst.dev->hard_header_len)) in ip_vs_nat_xmit_v6()
1577 if (skb_cow(skb, rt->dst.dev->hard_header_len)) in ip_vs_icmp_xmit()
1666 if (skb_cow(skb, rt->dst.dev->hard_header_len)) in ip_vs_icmp_xmit_v6()
/Linux-v5.4/net/ipv6/
Dcalipso.c1328 ret_val = skb_cow(skb, skb_headroom(skb) + len_delta); in calipso_skbuff_setattr()
1383 ret_val = skb_cow(skb, skb_headroom(skb)); in calipso_skbuff_delattr()
Dip6_output.c556 if (skb_cow(skb, dst->dev->hard_header_len)) { in ip6_forward()
Dip6mr.c2053 if (skb_cow(skb, sizeof(*ipv6h) + LL_RESERVED_SPACE(dev))) in ip6mr_forward2()
/Linux-v5.4/net/decnet/
Ddn_route.c784 if (skb_cow(skb, LL_RESERVED_SPACE(rt->dst.dev)+header_len)) in dn_forward()
/Linux-v5.4/include/linux/
Dskbuff.h3135 static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) in skb_cow() function
/Linux-v5.4/net/core/
Dfilter.c2841 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6()
3320 ret = skb_cow(skb, head_room); in __bpf_skb_change_head()
Dskbuff.c5286 if (skb_cow(skb, skb_headroom(skb)) < 0) { in skb_reorder_vlan_header()