Home
last modified time | relevance | path

Searched refs:hh_len (Results 1 – 9 of 9) sorted by relevance

/net/ipv4/
Dnetfilter.c28 unsigned int hh_len; in ip_route_me_harder() local
70 hh_len = skb_dst(skb)->dev->hard_header_len; in ip_route_me_harder()
71 if (skb_headroom(skb) < hh_len && in ip_route_me_harder()
72 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip_route_me_harder()
Dip_output.c171 unsigned int hh_len = LL_RESERVED_SPACE(dev); in ip_finish_output2() local
181 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in ip_finish_output2()
753 void *from, int length, int hh_len, int fragheaderlen, in ip_ufo_append_data() argument
765 hh_len + fragheaderlen + transhdrlen + 20, in ip_ufo_append_data()
772 skb_reserve(skb, hh_len); in ip_ufo_append_data()
810 int hh_len; in __ip_append_data() local
825 hh_len = LL_RESERVED_SPACE(rt->dst.dev); in __ip_append_data()
851 hh_len, fragheaderlen, transhdrlen, in __ip_append_data()
914 alloclen + hh_len + 15, in __ip_append_data()
921 alloclen + hh_len + 15, 1, in __ip_append_data()
[all …]
/net/ipv6/
Dnetfilter.c25 unsigned int hh_len; in ip6_route_me_harder() local
60 hh_len = skb_dst(skb)->dev->hard_header_len; in ip6_route_me_harder()
61 if (skb_headroom(skb) < hh_len && in ip6_route_me_harder()
62 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip6_route_me_harder()
Dip6_output.c1029 void *from, int length, int hh_len, int fragheaderlen, in ip6_ufo_append_data() argument
1043 hh_len + fragheaderlen + transhdrlen + 20, in ip6_ufo_append_data()
1049 skb_reserve(skb, hh_len); in ip6_ufo_append_data()
1137 int hh_len; in ip6_append_data() local
1218 hh_len = LL_RESERVED_SPACE(rt->dst.dev); in ip6_append_data()
1263 hh_len, fragheaderlen, in ip6_append_data()
1335 alloclen + hh_len, in ip6_append_data()
1342 alloclen + hh_len, 1, in ip6_append_data()
1361 skb_reserve(skb, hh_len + sizeof(struct frag_hdr) + in ip6_append_data()
/net/ipv6/netfilter/
Dip6t_REJECT.c46 unsigned int otcplen, hh_len; in send_reset() local
113 hh_len = (dst->dev->hard_header_len + 15)&~15; in send_reset()
114 nskb = alloc_skb(hh_len + 15 + dst->header_len + sizeof(struct ipv6hdr) in send_reset()
126 skb_reserve(nskb, hh_len + dst->header_len); in send_reset()
/net/netfilter/
Dnf_nat_core.c88 unsigned int hh_len; in nf_xfrm_me_harder() local
109 hh_len = skb_dst(skb)->dev->hard_header_len; in nf_xfrm_me_harder()
110 if (skb_headroom(skb) < hh_len && in nf_xfrm_me_harder()
111 pskb_expand_head(skb, hh_len - skb_headroom(skb), 0, GFP_ATOMIC)) in nf_xfrm_me_harder()
/net/ethernet/
Deth.c252 hh->hh_len = ETH_HLEN; in eth_header_cache()
/net/core/
Dneighbour.c1040 if (hh->hh_len) { in neigh_update_hhs()
1259 if (!hh->hh_len) in neigh_hh_init()
1300 if (dev->header_ops->cache && !neigh->hh.hh_len) in neigh_resolve_output()
/net/bridge/
Dbr_netfilter.c392 if (neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge()