Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/
Dgeneve.c36 #define GENEVE_BASE_HLEN (sizeof(struct udphdr) + sizeof(struct genevehdr)) macro
37 #define GENEVE_IPV4_HLEN (ETH_HLEN + sizeof(struct iphdr) + GENEVE_BASE_HLEN)
38 #define GENEVE_IPV6_HLEN (ETH_HLEN + sizeof(struct ipv6hdr) + GENEVE_BASE_HLEN)
370 if (unlikely(!pskb_may_pull(skb, GENEVE_BASE_HLEN))) in geneve_udp_encap_recv()
395 if (iptunnel_pull_header(skb, GENEVE_BASE_HLEN + opts_len, inner_proto, in geneve_udp_encap_recv()
418 if (!pskb_may_pull(skb, skb_transport_offset(skb) + GENEVE_BASE_HLEN)) in geneve_udp_encap_err_lookup()
778 GENEVE_BASE_HLEN + info->options_len + ip_hdr_len; in geneve_build_skb()
1212 dev->max_mtu = IP_MAX_MTU - GENEVE_BASE_HLEN - dev->hard_header_len; in geneve_setup()
1348 encap_len = GENEVE_BASE_HLEN + ETH_HLEN; in geneve_configure()