summaryrefslogtreecommitdiff
path: root/gmpls.h
diff options
context:
space:
mode:
authorhannes <hannes>2006-04-14 07:11:59 +0000
committerhannes <hannes>2006-04-14 07:11:59 +0000
commit8b7a740a27e9580a38e5e419188daec61c394c63 (patch)
tree21ea98ce18ef560f6bedafe006f7ee5dcd7f0770 /gmpls.h
parent65ba981d2ea8aa42ff6ac4300fe192ed994f2ea9 (diff)
downloadtcpdump-8b7a740a27e9580a38e5e419188daec61c394c63.tar.gz
add support for link attribute subTLV, update GMPLS printer to latest spec (rfc4205)
Diffstat (limited to 'gmpls.h')
-rw-r--r--gmpls.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gmpls.h b/gmpls.h
index 6069cd64..6b2db230 100644
--- a/gmpls.h
+++ b/gmpls.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/gmpls.h,v 1.4 2005-05-19 06:40:00 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/gmpls.h,v 1.5 2006-04-14 07:11:59 hannes Exp $ (LBL) */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code
@@ -14,8 +14,18 @@
* Original code by Hannes Gredler (hannes@juniper.net)
*/
+#define GMPLS_PSC1 1
+#define GMPLS_PSC2 2
+#define GMPLS_PSC3 3
+#define GMPLS_PSC4 4
+#define GMPLS_L2SC 51
+#define GMPLS_TSC 100
+#define GMPLS_LSC 150
+#define GMPLS_FSC 200
+
extern struct tok gmpls_link_prot_values[];
extern struct tok gmpls_switch_cap_values[];
+extern struct tok gmpls_switch_cap_tsc_indication_values[];
extern struct tok gmpls_encoding_values[];
extern struct tok gmpls_payload_values[];
extern struct tok diffserv_te_bc_values[];