瀏覽代碼

Added DUT Filtering TLV 45.

AdrianSimionov 11 年之前
父節點
當前提交
26a8c176cf
共有 3 個文件被更改,包括 5 次插入1 次删除
  1. 二進制
      regression/docsis2.0_DUTFiltering.regression
  2. 1 1
      src/docsis_common.h
  3. 4 0
      src/docsis_symtable.h

二進制
regression/docsis2.0_DUTFiltering.regression


+ 1 - 1
src/docsis_common.h

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

+ 4 - 0
src/docsis_symtable.h

@@ -308,6 +308,10 @@ symbol_type symtable[NUM_IDENTIFIERS] =  {
 
 { 191,  "NSIEncapsulationDualQTag",    3,    190,  (encode_dual_qtag),   (decode_dual_qtag),  0,         0          },
 
+{ 208,  "DUTFiltering",                45,   0,    (encode_nothing),  (decode_aggregate),  0,         0          }, /* 45 */
+{ 209,  "DUTControl",                  1,    208,  (encode_uchar),    (decode_uchar),      0,         1          }, /* 45.1 */
+{ 210,  "DUTCMIM",                     2,    208,  (encode_hexstr),   (decode_hexstr),     0,         0          }, /* 45.2 */
+
 /* Generic TLV ... we only use the limits, code and length don't matter ...*/
 { 998, "GenericTLV",           		0, 0,     (encode_nothing),   (decode_special),  0,        0        },
 { 999, "/*EndOfDataMkr*/",     		255, 0,   (encode_nothing),   (decode_special),  0,        0          }