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

/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dutil.c24 ret = skb_cow(skb, 2);
H A Dtx.c126 return skb_cow(skb, need_head);
/linux-master/net/batman-adv/
H A Drouting.c198 if (skb_cow(skb, 0) < 0)
239 if (skb_cow(skb, ETH_HLEN) < 0)
305 if (skb_cow(skb, ETH_HLEN) < 0)
377 if (skb_cow(skb, ETH_HLEN) < 0)
405 if (skb_cow(skb, ETH_HLEN) < 0)
682 if (skb_cow(skb, ETH_HLEN) < 0)
802 if (skb_cow(skb, sizeof(*unicast_packet)) < 0)
1061 if (skb_cow(skb, hdr_size) < 0)
1300 if (skb_cow(skb, ETH_HLEN) < 0)
H A Dnetwork-coding.c1652 if (skb_cow(skb, 0) < 0)
/linux-master/net/6lowpan/
H A Dnhc_udp.c105 err = skb_cow(skb, needed);
H A Diphc.c746 err = skb_cow(skb, sizeof(hdr));
/linux-master/net/ipv4/
H A Dip_forward.c144 if (skb_cow(skb, LL_RESERVED_SPACE(rt->dst.dev)+rt->dst.header_len))
H A Dip_input.c272 if (skb_cow(skb, skb_headroom(skb))) {
H A Dip_tunnel_core.c215 err = skb_cow(skb, sizeof(*niph) + sizeof(*icmph) + ETH_HLEN);
309 err = skb_cow(skb, sizeof(*nip6h) + sizeof(*icmp6h) + ETH_HLEN);
H A Dcipso_ipv4.c2188 ret_val = skb_cow(skb, skb_headroom(skb) + len_delta);
2249 ret_val = skb_cow(skb, skb_headroom(skb));
H A Dipmr.c1898 if (skb_cow(skb, encap)) {
/linux-master/drivers/net/hamradio/
H A Dbpqether.c205 if (skb_cow(skb, sizeof(struct ethhdr)))
265 if (skb_cow(skb, AX25_BPQ_HEADER_LEN)) {
/linux-master/net/mpls/
H A Dmpls_iptunnel.c109 if (skb_cow(skb, hh_len + new_header_size))
H A Daf_mpls.c428 if (skb_cow(skb, hh_len + new_header_size))
2446 if (skb_cow(skb, hdr_size)) {
/linux-master/drivers/net/wan/
H A Dhdlc_x25.c86 if (skb_cow(skb, 1)) {
H A Dlapbether.c165 if (skb_cow(skb, 1)) {
/linux-master/net/netfilter/ipvs/
H A Dip_vs_xmit.c812 if (skb_cow(skb, rt->dst.dev->hard_header_len))
897 if (skb_cow(skb, rt->dst.dev->hard_header_len))
1541 if (skb_cow(skb, rt->dst.dev->hard_header_len))
1625 if (skb_cow(skb, rt->dst.dev->hard_header_len))
/linux-master/net/ipv6/
H A Dcalipso.c1322 ret_val = skb_cow(skb, skb_headroom(skb) + len_delta);
1326 ip6_hdr = ipv6_hdr(skb); /* Reset as skb_cow() may have moved it */
1377 ret_val = skb_cow(skb, skb_headroom(skb));
H A Dip6mr.c2074 if (skb_cow(skb, sizeof(*ipv6h) + LL_RESERVED_SPACE(vif_dev)))
H A Dip6_output.c648 if (skb_cow(skb, dst->dev->hard_header_len)) {
/linux-master/net/core/
H A Dfilter.c3216 /* Caller already did skb_cow() with len as headroom,
3292 ret = skb_cow(skb, len_diff);
3615 ret = skb_cow(skb, len_diff);
3828 ret = skb_cow(skb, head_room);
H A Dskbuff.c6047 if (skb_cow(skb, skb_headroom(skb)) < 0) {
/linux-master/include/linux/
H A Dskbuff.h3682 * skb_cow - copy header of skb when it is required
3693 static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) function
3699 * skb_cow_head - skb_cow but only making the head writable
3703 * This function is identical to skb_cow except that we replace the

Completed in 268 milliseconds