Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_geneve.c18 sizeof(struct genevehdr) + in mlx5e_tc_tun_calc_hlen_geneve()
98 struct genevehdr *geneveh; in mlx5e_gen_ip_tunnel_header_geneve()
100 geneveh = (struct genevehdr *)((char *)udp + sizeof(struct udphdr)); in mlx5e_gen_ip_tunnel_header_geneve()
/linux/drivers/net/
H A Dgeneve.c36 #define GENEVE_BASE_HLEN (sizeof(struct udphdr) + sizeof(struct genevehdr))
169 static inline struct genevehdr *geneve_hdr(const struct sk_buff *skb) in geneve_hdr()
171 return (struct genevehdr *)(udp_hdr(skb) + 1); in geneve_hdr()
221 struct genevehdr *gnvh = geneve_hdr(skb); in geneve_rx()
363 struct genevehdr *geneveh; in geneve_udp_encap_recv()
413 struct genevehdr *geneveh; in geneve_udp_encap_err_lookup()
492 static int geneve_hlen(struct genevehdr *gh) in geneve_hlen()
503 struct genevehdr *gh, *gh2; in geneve_gro_receive()
530 gh2 = (struct genevehdr *)(p->data + off_gnv); in geneve_gro_receive()
560 struct genevehdr *gh; in geneve_gro_complete()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c331 struct genevehdr *geneve; in efx_gen_tun_header_geneve()
334 geneve = (struct genevehdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_geneve()
358 #define geneve_header_l4_len (sizeof(struct udphdr) + sizeof(struct genevehdr))
365 efx_gen_tun_header_udp(encap, sizeof(struct genevehdr)); in efx_gen_geneve_header_ipv4()
386 efx_gen_tun_header_udp(encap, sizeof(struct genevehdr)); in efx_gen_geneve_header_ipv6()
/linux/include/net/
H A Dgeneve.h45 struct genevehdr { struct
/linux/net/netfilter/
H A Dnft_inner.c192 struct genevehdr *gnvh, _gnvh; in nft_inner_parse_tunhdr()