Lines Matching refs:ol3_len
278 int ol3_len = 0, ol4_len = 0, il3_len = 0, il4_len = 0; in build_packet() local
286 ol3_len = l3_length(cfg_l3_outer); in build_packet()
297 if (el3_len + ol3_len + ol4_len + il3_len + il4_len + cfg_payload_len >= in build_packet()
305 memset(buf + el3_len + ol3_len + ol4_len + il3_len + il4_len, in build_packet()
309 buf[el3_len + ol3_len + ol4_len + il3_len + il4_len + cfg_payload_len] = 0; in build_packet()
313 build_ipv4_header(buf + el3_len + ol3_len + ol4_len, in build_packet()
321 build_ipv6_header(buf + el3_len + ol3_len + ol4_len, in build_packet()
329 build_udp_header(buf + el3_len + ol3_len + ol4_len + il3_len, in build_packet()
353 build_gue_header(buf + el3_len + ol3_len + ol4_len - in build_packet()
357 build_udp_header(buf + el3_len + ol3_len, in build_packet()
363 build_gre_header(buf + el3_len + ol3_len, in build_packet()
376 ol3_len + ol4_len + il3_len + il4_len + in build_packet()
384 ol3_len + ol4_len + il3_len + il4_len + in build_packet()
389 return el3_len + ol3_len + ol4_len + il3_len + il4_len + in build_packet()