Home
last modified time | relevance | path

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

/openbmc/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()
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()
650 cfg_encap_proto = IPPROTO_IPIP; in parse_opts()
652 cfg_encap_proto = IPPROTO_IP; /* == 0 */ in parse_opts()
[all …]