diff options
author | Guy Harris <gharris@sonic.net> | 2023-02-20 13:30:16 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2023-02-20 13:30:16 -0800 |
commit | 285c177e593d0841767270e31f44e92476733b87 (patch) | |
tree | 020657ee3f54505cf5df2307da72f1cbf313bc39 /af.c | |
parent | 0dc32a024773968cb1ae00729758e61b7418564a (diff) | |
download | tcpdump-285c177e593d0841767270e31f44e92476733b87.tar.gz |
Rename the BSD_AFNUM_ values to BSD_AF_.
They correspond to OS socket API AF_ values, which are distinct from
address family numbers in the IANA registry at
https://www.iana.org/assignments/address-family-numbers/address-family-numbers.xhtml
Diffstat (limited to 'af.c')
-rw-r--r-- | af.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -46,13 +46,13 @@ const struct tok af_values[] = { }; const struct tok bsd_af_values[] = { - { BSD_AFNUM_INET, "IPv4" }, - { BSD_AFNUM_NS, "NS" }, - { BSD_AFNUM_ISO, "ISO" }, - { BSD_AFNUM_APPLETALK, "Appletalk" }, - { BSD_AFNUM_IPX, "IPX" }, - { BSD_AFNUM_INET6_BSD, "IPv6" }, - { BSD_AFNUM_INET6_FREEBSD, "IPv6" }, - { BSD_AFNUM_INET6_DARWIN, "IPv6" }, + { BSD_AF_INET, "IPv4" }, + { BSD_AF_NS, "NS" }, + { BSD_AF_ISO, "ISO" }, + { BSD_AF_APPLETALK, "Appletalk" }, + { BSD_AF_IPX, "IPX" }, + { BSD_AF_INET6_BSD, "IPv6" }, + { BSD_AF_INET6_FREEBSD, "IPv6" }, + { BSD_AF_INET6_DARWIN, "IPv6" }, { 0, NULL} }; |