aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis/packet-bpkmattr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-09 07:17:00 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-09 07:17:00 +0000
commitc7d03ae2dad14325d9c956f1498aa1e3ce294ecb (patch)
tree060d499dd70f8a976abe6dee66f12c3f98b99527 /plugins/docsis/packet-bpkmattr.c
parent5ac2c468998dc8c26eb985e62f49a93f1e9b1737 (diff)
Fix the URL for the DOCSIS 1.1 Baseline Privacy Plus Interface
Specification. Show the crypto suite attribute symbolically. Get rid of unused value_string tables. svn path=/trunk/; revision=8426
Diffstat (limited to 'plugins/docsis/packet-bpkmattr.c')
-rw-r--r--plugins/docsis/packet-bpkmattr.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/plugins/docsis/packet-bpkmattr.c b/plugins/docsis/packet-bpkmattr.c
index 7735d228c1..827c6a7869 100644
--- a/plugins/docsis/packet-bpkmattr.c
+++ b/plugins/docsis/packet-bpkmattr.c
@@ -2,7 +2,7 @@
* Routines for Baseline Privacy Key Management Attributes dissection
* Copyright 2002, Anand V. Narwani <anand[AT]narwani.org>
*
- * $Id: packet-bpkmattr.c,v 1.5 2003/05/28 14:52:51 gerald Exp $
+ * $Id: packet-bpkmattr.c,v 1.6 2003/09/09 07:17:00 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -40,7 +40,7 @@
#include <epan/packet.h>
/* BPKM Attributes defined in:
- * http://www.cablemodem.com/Specs/SP-BPI+-I08-020301.pdf
+ * http://www.cablemodem.com/downloads/specs/SP-BPI+_I10-030730.pdf
*/
#define BPKM_RESERVED 0
#define BPKM_SERIAL_NUM 1
@@ -131,18 +131,6 @@ static const value_string error_code_vals[] = {
{0, NULL},
};
-static const value_string data_encr_algo_vals[] = {
- {0, "Reserved"},
- {1, "CBC Mode, 56 Bit DES"},
- {2, "CBC Mode, 40 Bit DES"},
- {0, NULL},
-};
-
-static const value_string data_auth_algo_vals[] = {
- {0, "No Data Authentication"},
- {0, NULL},
-};
-
static const value_string crypto_suite_attr_vals[] = {
{0x0100, "CBC Mode, 56 Bit DES & no Data Authentication"},
{0x0200, "CBC Mode, 40 Bit DES & no Data Authentication"},
@@ -514,7 +502,7 @@ proto_register_docsis_bpkmattr (void)
},
{&hf_docsis_bpkmattr_crypto_suite,
{"20 Cryptographic Suite", "docsis.bpkmattr.cryptosuite",
- FT_UINT16, BASE_HEX, NULL, 0x0,
+ FT_UINT16, BASE_HEX, VALS(crypto_suite_attr_vals), 0x0,
"Cryptographic Suite", HFILL}
},
{&hf_docsis_bpkmattr_crypto_suite_list,