Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c67 static uint8_t cfg_encap_proto; variable
285 if (cfg_encap_proto) { in build_packet()
288 if (cfg_encap_proto == IPPROTO_GRE) in build_packet()
290 else if (cfg_encap_proto == IPPROTO_UDP) in build_packet()
332 if (!cfg_encap_proto) in build_packet()
337 build_ipv4_header(buf + el3_len, cfg_encap_proto, in build_packet()
344 build_ipv6_header(buf + el3_len, cfg_encap_proto, in build_packet()
351 switch (cfg_encap_proto) { in build_packet()
646 cfg_encap_proto = IPPROTO_GRE; in parse_opts()
648 cfg_encap_proto = IPPROTO_UDP; in parse_opts()
[all …]