Searched refs:encap_hdr (Results 1 – 4 of 4) sorted by relevance
18 struct encap_hdr { in bpf_lwt_encap_gre() struct24 memset(&hdr, 0, sizeof(struct encap_hdr)); in bpf_lwt_encap_gre()39 hdr.iph.tot_len = bpf_htons(skb->len + sizeof(struct encap_hdr)); in bpf_lwt_encap_gre()44 sizeof(struct encap_hdr)); in bpf_lwt_encap_gre()54 struct encap_hdr { in bpf_lwt_encap_gre6() struct60 memset(&hdr, 0, sizeof(struct encap_hdr)); in bpf_lwt_encap_gre6()78 sizeof(struct encap_hdr)); in bpf_lwt_encap_gre6()
255 eth = (struct ethhdr *)encap->encap_hdr; in efx_gen_tun_header_eth()271 ip = (struct iphdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_ipv4()291 ip = (struct ipv6hdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_ipv6()309 udp = (struct udphdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_udp()321 vxlan = (struct vxlanhdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_vxlan()334 geneve = (struct genevehdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_geneve()351 BUILD_BUG_ON(sizeof(encap->encap_hdr) < vxlan4_header_len); in efx_gen_vxlan_header_ipv4()362 BUILD_BUG_ON(sizeof(encap->encap_hdr) < geneve4_header_len); in efx_gen_geneve_header_ipv4()373 BUILD_BUG_ON(sizeof(encap->encap_hdr) < vxlan6_header_len); in efx_gen_vxlan_header_ipv6()383 BUILD_BUG_ON(sizeof(encap->encap_hdr) < geneve6_header_len); in efx_gen_geneve_header_ipv6()[all …]
77 u8 encap_hdr[EFX_TC_MAX_ENCAP_HDR]; member
970 encap->encap_hdr, in efx_mae_allocate_encap_md()999 encap->encap_hdr, in efx_mae_update_encap_md()