aboutsummaryrefslogtreecommitdiffstats
path: root/epan/afn.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-01-28 23:18:19 +0000
committerGuy Harris <guy@alum.mit.edu>2006-01-28 23:18:19 +0000
commit54ac396346ac6fda394cf0dc3ff9bae1f7c92555 (patch)
tree94d330e1ed1a42321ef2c619a0967407353bd7fe /epan/afn.c
parent5186e3341612be342a0cc21b98dafa6dcd6dc220 (diff)
Expand the set of #defines in afn.h (and give a URL for the *current*
list of address families) and the list of strings in afn.c, and use them in packet-lldp.c instead of having it define its own. svn path=/trunk/; revision=17114
Diffstat (limited to 'epan/afn.c')
-rw-r--r--epan/afn.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/epan/afn.c b/epan/afn.c
index 509441fa4d..bf5b6a7144 100644
--- a/epan/afn.c
+++ b/epan/afn.c
@@ -30,22 +30,31 @@
#include <epan/afn.h>
const value_string afn_vals[] = {
- { 0, "Reserved" },
+ { AFNUM_RESERVED, "Reserved" },
{ AFNUM_INET, "IPv4" },
{ AFNUM_INET6, "IPv6" },
{ AFNUM_NSAP, "NSAP" },
{ AFNUM_HDLC, "HDLC (8-bit multidrop)" },
{ AFNUM_BBN1822, "BBN 1822" },
- { AFNUM_802, "802" },
+ { AFNUM_802, "802 (includes all 802 media plus Ethernet)" },
{ AFNUM_E163, "E.163" },
- { AFNUM_E164, "E.164" },
- { AFNUM_F69, "F.69" },
- { AFNUM_X121, "X.121" },
+ { AFNUM_E164, "E.164 (SMDS, Frame Relay, ATM)" },
+ { AFNUM_F69, "F.69 (Telex)" },
+ { AFNUM_X121, "X.121 (X.25, Frame Relay)" },
{ AFNUM_IPX, "IPX" },
{ AFNUM_ATALK, "Appletalk" },
{ AFNUM_DECNET, "Decnet IV" },
{ AFNUM_BANYAN, "Banyan Vines" },
{ AFNUM_E164NSAP, "E.164 with NSAP subaddress" },
+ { AFNUM_DNS, "DNS (Domain Name System)" },
+ { AFNUM_DISTNAME, "Distinguished Name" },
+ { AFNUM_AS_NUMBER, "AS Number" },
+ { AFNUM_XTP_IP4, "XTP over IP version 4" },
+ { AFNUM_XTP_IP6, "XTP over IP version 6" },
+ { AFNUM_XTP, "XTP native mode XTP" },
+ { AFNUM_FC_WWPN, "Fibre Channel World-Wide Port Name" },
+ { AFNUM_FC_WWNN, "Fibre Channel World-Wide Node Name" },
+ { AFNUM_GWID, "GWID" },
{ AFNUM_L2VPN_OLD, "Layer-2 VPN (old)" },
{ AFNUM_L2VPN, "Layer-2 VPN" },
{ 65535, "Reserved" },