Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-geneve.c79 format_opt_class(uint16_t opt_class) in format_opt_class() argument
81 switch (opt_class) { in format_opt_class()
93 if (opt_class <= 0x00ff) in format_opt_class()
95 else if (opt_class >= 0xfff0) in format_opt_class()
108 uint16_t opt_class; in geneve_opts_print() local
115 opt_class = EXTRACT_16BITS(bp); in geneve_opts_print()
120 format_opt_class(opt_class), opt_class, opt_type, in geneve_opts_print()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tunnel_kern.c33 __be16 opt_class; member
411 gopt.opt_class = bpf_htons(0x102); /* Open Virtual Networking (OVN) */ in _geneve_set_tunnel()
456 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in _geneve_get_tunnel()
481 gopt.opt_class = bpf_htons(0x102); /* Open Virtual Networking (OVN) */ in _ip6geneve_set_tunnel()
520 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in _ip6geneve_get_tunnel()