Преглед изворни кода

Added support for TLV 22.43.4

AdrianSimionov пре 10 година
родитељ
комит
48b913c58f
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 1 1
      src/docsis_common.h
  2. 2 1
      src/docsis_symtable.h

+ 1 - 1
src/docsis_common.h

@@ -31,7 +31,7 @@
 
 
 #ifndef NUM_IDENTIFIERS
-#define NUM_IDENTIFIERS 361
+#define NUM_IDENTIFIERS 362
 #endif /*  NUM_IDENTIFIERS, needed in docsis_symtable.h  */
 
 #define MAXINT 2000000000

+ 2 - 1
src/docsis_symtable.h

@@ -208,6 +208,7 @@ symbol_type symtable[NUM_IDENTIFIERS] =  {
 { 352,    "CMLoadBalancingPolicyID",           1,      200,    (encode_uint),           (decode_uint),           0,           0             }, /* TLV 22.43.1 MULPIv3.0-I24 Annex C.1.1.18.1.1 */
 { 353,    "CMLoadBalancingPriority",           2,      200,    (encode_uint),           (decode_uint),           0,           0             }, /* TLV 22.43.2 MULPIv3.0-I24 Annex C.1.1.18.1.2 */
 { 354,    "CMLoadBalancingGroupID",            3,      200,    (encode_uint),           (decode_uint),           0,           0             }, /* TLV 22.43.3 MULPIv3.0-I24 Annex C.1.1.18.1.3 */
+{ 355,    "CMRangingClassIDExtension",         4,      200,    (encode_ushort),         (decode_ushort),         0,           0             }, /* TLV 22.43.4 MULPIv3.0-I24 Annex C.1.1.18.1.4 */
 { 202,    "L2VPNEncoding",                     5,      200,    (encode_nothing),        (decode_aggregate),      0,           0             }, /* TLV 22.43.5 MULPIv3.0-I24 Annex C.1.1.18.1.5 */
 { 203,    "VPNIdentifier",                     1,      202,    (encode_hexstr),         (decode_hexstr),         4,           255           }, /* TLV 22.43.5.1 L2VPN-I13 Annex B.3.1 */
 { 350,    "NSIEncapsulationSubtype",           2,      202,    (encode_nothing),        (decode_aggregate),      0,           0             }, /* TLV 22.43.5.2 L2VPN-I13 Annex B.3.2 */
@@ -455,7 +456,7 @@ symbol_type symtable[NUM_IDENTIFIERS] =  {
 { 236,    "SNMPv3AccessViewMask",              3,      233,    (encode_hexstr),         (decode_hexstr),         2,           2             }, /* TLV 202.54.3 eRouter-I12 Annex B.4.6.3 */
 { 237,    "SNMPv3AccessViewType",              4,      233,    (encode_uchar),          (decode_uchar),          1,           2             }, /* TLV 202.54.4 eRouter-I12 Annex B.4.6.4 */
 
-/* A little more organized -> Start with 353 */
+/* A little more organized -> Start with 356 */
 
 /* Generic TLV ... we only use the limits, code and length don't matter ...*/
 { 998,    "GenericTLV",                        0,      0,      (encode_nothing),        (decode_special),        0,           0             },