Home
last modified time | relevance | path

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

/linux-6.6.21/net/batman-adv/
Drouting.c198 if (skb_cow(skb, 0) < 0) in batadv_check_management_packet()
239 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_recv_my_icmp_packet()
305 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_recv_icmp_ttl_exceeded()
377 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_recv_icmp_packet()
405 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_recv_icmp_packet()
682 if (skb_cow(skb, ETH_HLEN) < 0) in batadv_route_unicast_packet()
802 if (skb_cow(skb, sizeof(*unicast_packet)) < 0) in batadv_check_unicast_ttvn()
1061 if (skb_cow(skb, hdr_size) < 0) in batadv_recv_unicast_tvlv()
Dnetwork-coding.c1652 if (skb_cow(skb, 0) < 0) in batadv_nc_skb_decode_packet()
/linux-6.6.21/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-6.6.21/drivers/net/hamradio/
Dbpqether.c205 if (skb_cow(skb, sizeof(struct ethhdr))) in bpq_rcv()
265 if (skb_cow(skb, AX25_BPQ_HEADER_LEN)) { in bpq_xmit()
/linux-6.6.21/net/ipv4/
Dip_forward.c144 if (skb_cow(skb, LL_RESERVED_SPACE(rt->dst.dev)+rt->dst.header_len)) in ip_forward()
Dip_input.c272 if (skb_cow(skb, skb_headroom(skb))) { in ip_rcv_options()
Dip_tunnel_core.c215 err = skb_cow(skb, sizeof(*niph) + sizeof(*icmph) + ETH_HLEN); in iptunnel_pmtud_build_icmp()
309 err = skb_cow(skb, sizeof(*nip6h) + sizeof(*icmp6h) + ETH_HLEN); in iptunnel_pmtud_build_icmpv6()
Dcipso_ipv4.c2191 ret_val = skb_cow(skb, skb_headroom(skb) + len_delta); in cipso_v4_skbuff_setattr()
2252 ret_val = skb_cow(skb, skb_headroom(skb)); in cipso_v4_skbuff_delattr()
Dipmr.c1896 if (skb_cow(skb, encap)) { in ipmr_queue_xmit()
/linux-6.6.21/net/6lowpan/
Dnhc_udp.c105 err = skb_cow(skb, needed); in udp_uncompress()
Diphc.c746 err = skb_cow(skb, sizeof(hdr)); in lowpan_header_decompress()
/linux-6.6.21/net/mpls/
Dmpls_iptunnel.c111 if (skb_cow(skb, hh_len + new_header_size)) in mpls_xmit()
Daf_mpls.c428 if (skb_cow(skb, hh_len + new_header_size)) in mpls_forward()
2444 if (skb_cow(skb, hdr_size)) { in mpls_getroute()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_xmit.c812 if (skb_cow(skb, rt->dst.dev->hard_header_len)) in ip_vs_nat_xmit()
897 if (skb_cow(skb, rt->dst.dev->hard_header_len)) in ip_vs_nat_xmit_v6()
1541 if (skb_cow(skb, rt->dst.dev->hard_header_len)) in ip_vs_icmp_xmit()
1625 if (skb_cow(skb, rt->dst.dev->hard_header_len)) in ip_vs_icmp_xmit_v6()
/linux-6.6.21/drivers/net/wan/
Dhdlc_x25.c86 if (skb_cow(skb, 1)) { in x25_data_indication()
Dlapbether.c165 if (skb_cow(skb, 1)) { in lapbeth_data_indication()
/linux-6.6.21/net/ipv6/
Dcalipso.c1325 ret_val = skb_cow(skb, skb_headroom(skb) + len_delta); in calipso_skbuff_setattr()
1380 ret_val = skb_cow(skb, skb_headroom(skb)); in calipso_skbuff_delattr()
Dip6_output.c643 if (skb_cow(skb, dst->dev->hard_header_len)) { in ip6_forward()
Dip6mr.c2077 if (skb_cow(skb, sizeof(*ipv6h) + LL_RESERVED_SPACE(vif_dev))) in ip6mr_forward2()
/linux-6.6.21/include/linux/
Dskbuff.h3603 static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) in skb_cow() function
/linux-6.6.21/net/core/
Dfilter.c3280 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6()
3603 ret = skb_cow(skb, len_diff); in BPF_CALL_4()
3816 ret = skb_cow(skb, head_room); in __bpf_skb_change_head()
Dskbuff.c5874 if (skb_cow(skb, skb_headroom(skb)) < 0) { in skb_reorder_vlan_header()