vxlanhdr
sizeof(struct udphdr) + sizeof(struct vxlanhdr)))
sizeof(struct udphdr) + sizeof(struct vxlanhdr) ||
struct vxlanhdr *vxh;
vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr));
sizeof(struct udphdr) + sizeof(struct vxlanhdr))))
struct vxlanhdr *vxlan;
vxlan = (struct vxlanhdr *)(encap->encap_hdr + encap->encap_hdr_len);
#define vxlan_header_l4_len (sizeof(struct udphdr) + sizeof(struct vxlanhdr))
efx_gen_tun_header_udp(encap, sizeof(struct vxlanhdr));
efx_gen_tun_header_udp(encap, sizeof(struct vxlanhdr));
const struct vxlanhdr *vh = vxlan_hdr(skb);
const struct vxlanhdr *vh = vxlan_hdr(skb);
const struct vxlanhdr *vh;
struct vxlanhdr *hdr;
static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, __be16 protocol)
struct vxlanhdr *vxh;
start = skb_checksum_start_offset(skb) - sizeof(struct vxlanhdr);
[IFLA_VXLAN_RESERVED_BITS] = NLA_POLICY_EXACT_LEN(sizeof(struct vxlanhdr)),
struct vxlanhdr used_bits = {
struct vxlanhdr reserved_bits;
conf->reserved_bits = (struct vxlanhdr) {
nla_total_size(sizeof(struct vxlanhdr)) +
static bool vxlan_parse_gpe_proto(const struct vxlanhdr *hdr, __be16 *protocol)
static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb,
struct vxlanhdr *vh, size_t hdrlen,
static struct vxlanhdr *vxlan_gro_prepare_receive(struct sock *sk,
struct vxlanhdr *vh, *vh2;
skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr));
vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr),
skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */
vh2 = (struct vxlanhdr *)(p->data + off_vx);
struct vxlanhdr *vh;
return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr));
struct vxlanhdr *vh = (struct vxlanhdr *)(skb->data + nhoff);
err = ptype->callbacks.gro_complete(skb, nhoff + sizeof(struct vxlanhdr));
struct vxlanhdr reserved_bits;
#define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr))
sizeof(struct udphdr) + sizeof(struct vxlanhdr)) ||
sizeof(struct udphdr) + sizeof(struct vxlanhdr) +
static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb)
return (struct vxlanhdr *)(udp_hdr(skb) + 1);
static inline void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, const struct vxlan_metadata *md)