]> The Tcpdump Group git mirrors - libpcap/commit
Factor gen_ip_proto() and gen_ip6_proto() out.
authorDenis Ovsienko <[email protected]>
Fri, 4 Apr 2025 10:34:46 +0000 (11:34 +0100)
committerDenis Ovsienko <[email protected]>
Mon, 7 Apr 2025 08:47:54 +0000 (09:47 +0100)
commitcd784e9ddff54e03a3133e41a4cb8a264136e699
tree5a8646d5f8a584f331212bec01a7e9051b63979e
parent48e0c09775549a4e3af7b43cf66d2a108bb16d14
Factor gen_ip_proto() and gen_ip6_proto() out.

While at it, rename ip_proto to proto in gen_port(), gen_port6(),
gen_portrange() and gen_portrange6() because in these contexts the value
isn't limited to IPPROTO_ values and can be PROTO_UNDEF as well.
gencode.c