Searched refs:hh_len (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/net/ipv4/
H A Dnetfilter.c28 unsigned int hh_len; ip_route_me_harder() local
69 /* Change in oif may mean change in hh_len. */ ip_route_me_harder()
70 hh_len = skb_dst(skb)->dev->hard_header_len; ip_route_me_harder()
71 if (skb_headroom(skb) < hh_len && ip_route_me_harder()
72 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), ip_route_me_harder()
H A Dip_output.c176 unsigned int hh_len = LL_RESERVED_SPACE(dev); ip_finish_output2() local
186 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { ip_finish_output2()
790 void *from, int length, int hh_len, int fragheaderlen, ip_ufo_append_data()
803 hh_len + fragheaderlen + transhdrlen + 20, ip_ufo_append_data()
810 skb_reserve(skb, hh_len); ip_ufo_append_data()
852 int hh_len; __ip_append_data() local
871 hh_len = LL_RESERVED_SPACE(rt->dst.dev); __ip_append_data()
899 hh_len, fragheaderlen, transhdrlen, __ip_append_data()
962 alloclen + hh_len + 15, __ip_append_data()
969 alloclen + hh_len + 15, 1, __ip_append_data()
982 skb_reserve(skb, hh_len); __ip_append_data()
1172 int hh_len; ip_append_page() local
1195 hh_len = LL_RESERVED_SPACE(rt->dst.dev); ip_append_page()
1239 alloclen = fragheaderlen + hh_len + fraggap + 15; ip_append_page()
1251 skb_reserve(skb, hh_len); ip_append_page()
786 ip_ufo_append_data(struct sock *sk, struct sk_buff_head *queue, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, int length, int hh_len, int fragheaderlen, int transhdrlen, int maxfraglen, unsigned int flags) ip_ufo_append_data() argument
/linux-4.1.27/net/ipv6/
H A Dnetfilter.c25 unsigned int hh_len; ip6_route_me_harder() local
60 /* Change in oif may mean change in hh_len. */ ip6_route_me_harder()
61 hh_len = skb_dst(skb)->dev->hard_header_len; ip6_route_me_harder()
62 if (skb_headroom(skb) < hh_len && ip6_route_me_harder()
63 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), ip6_route_me_harder()
H A Dip6_output.c1068 void *from, int length, int hh_len, int fragheaderlen, ip6_ufo_append_data()
1084 hh_len + fragheaderlen + transhdrlen + 20, ip6_ufo_append_data()
1090 skb_reserve(skb, hh_len); ip6_ufo_append_data()
1243 int hh_len; __ip6_append_data() local
1262 hh_len = LL_RESERVED_SPACE(rt->dst.dev); __ip6_append_data()
1341 hh_len, fragheaderlen, __ip6_append_data()
1413 alloclen + hh_len, __ip6_append_data()
1420 alloclen + hh_len, 1, __ip6_append_data()
1434 skb_reserve(skb, hh_len + sizeof(struct frag_hdr) + __ip6_append_data()
1064 ip6_ufo_append_data(struct sock *sk, struct sk_buff_head *queue, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, int length, int hh_len, int fragheaderlen, int transhdrlen, int mtu, unsigned int flags, struct rt6_info *rt) ip6_ufo_append_data() argument
/linux-4.1.27/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c138 unsigned int otcplen, hh_len; nf_send_reset6() local
170 hh_len = (dst->dev->hard_header_len + 15)&~15; nf_send_reset6()
171 nskb = alloc_skb(hh_len + 15 + dst->header_len + sizeof(struct ipv6hdr) nf_send_reset6()
183 skb_reserve(nskb, hh_len + dst->header_len); nf_send_reset6()
/linux-4.1.27/include/net/
H A Dneighbour.h451 int hh_len; neigh_hh_output() local
455 hh_len = hh->hh_len; neigh_hh_output()
456 if (likely(hh_len <= HH_DATA_MOD)) { neigh_hh_output()
460 int hh_alen = HH_DATA_ALIGN(hh_len); neigh_hh_output()
466 skb_push(skb, hh_len); neigh_hh_output()
H A Ddst.h451 if ((n->nud_state & NUD_CONNECTED) && hh->hh_len) dst_neigh_output()
/linux-4.1.27/net/netfilter/
H A Dnf_nat_core.c89 unsigned int hh_len; nf_xfrm_me_harder() local
109 /* Change in oif may mean change in hh_len. */ nf_xfrm_me_harder()
110 hh_len = skb_dst(skb)->dev->hard_header_len; nf_xfrm_me_harder()
111 if (skb_headroom(skb) < hh_len && nf_xfrm_me_harder()
112 pskb_expand_head(skb, hh_len - skb_headroom(skb), 0, GFP_ATOMIC)) nf_xfrm_me_harder()
/linux-4.1.27/net/mpls/
H A Daf_mpls.c145 unsigned int hh_len; mpls_forward() local
200 hh_len = LL_RESERVED_SPACE(out_dev); mpls_forward()
202 hh_len = 0; mpls_forward()
205 if (skb_cow(skb, hh_len + new_header_size)) mpls_forward()
/linux-4.1.27/net/ethernet/
H A Deth.c236 hh->hh_len = ETH_HLEN; eth_header_cache()
/linux-4.1.27/net/core/
H A Dneighbour.c1039 if (hh->hh_len) { neigh_update_hhs()
1276 if (!hh->hh_len) neigh_hh_init()
1293 if (dev->header_ops->cache && !neigh->hh.hh_len) neigh_resolve_output()
/linux-4.1.27/net/bridge/
H A Dbr_netfilter.c323 if (neigh->hh.hh_len) { br_nf_pre_routing_finish_bridge()
/linux-4.1.27/drivers/firewire/
H A Dnet.c252 hh->hh_len = FWNET_HLEN; fwnet_header_cache()
/linux-4.1.27/include/linux/
H A Dnetdevice.h233 u16 hh_len; member in struct:hh_cache

Completed in 392 milliseconds