Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c254 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 …]
H A Dtc_encap_actions.h75 u8 encap_hdr_len; member
H A Dmae.c966 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()