Searched refs:encap_hdr_len (Results 1 – 3 of 3) sorted by relevance
254 encap->encap_hdr_len = sizeof(*eth); in efx_gen_tun_header_eth()271 ip = (struct iphdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_ipv4()272 encap->encap_hdr_len += sizeof(*ip); in efx_gen_tun_header_ipv4()291 ip = (struct ipv6hdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_ipv6()292 encap->encap_hdr_len += sizeof(*ip); in efx_gen_tun_header_ipv6()309 udp = (struct udphdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_udp()310 encap->encap_hdr_len += sizeof(*udp); in efx_gen_tun_header_udp()321 vxlan = (struct vxlanhdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_vxlan()322 encap->encap_hdr_len += sizeof(*vxlan); in efx_gen_tun_header_vxlan()334 geneve = (struct genevehdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_geneve()[all …]
75 u8 encap_hdr_len; member
966 inlen = MC_CMD_MAE_ENCAP_HEADER_ALLOC_IN_LEN(encap->encap_hdr_len); in efx_mae_allocate_encap_md()971 encap->encap_hdr_len); in efx_mae_allocate_encap_md()995 inlen = MC_CMD_MAE_ENCAP_HEADER_UPDATE_IN_LEN(encap->encap_hdr_len); in efx_mae_update_encap_md()1000 encap->encap_hdr_len); in efx_mae_update_encap_md()