+ table id bit width

This commit is contained in:
Nico Schottelius 2019-03-25 14:04:11 +01:00
parent f25d98503f
commit 1c1eeaf46e
1 changed files with 5 additions and 5 deletions

View File

@ -13,11 +13,11 @@ typedef bit<16> mcast_t;
typedef bit<16> task_t;
typedef bit<16> table_t; /* to map debug messages - 16 bit to match shortenumfield */
const bit<8> TABLE_NAT64 = 1;
const bit<8> TABLE_ICMP6 = 2;
const bit<8> TABLE_V6_NETWORKS = 3;
const bit<8> TABLE_NAT46 = 4;
const bit<8> TABLE_V4_NETWORKS = 5;
const bit<16> TABLE_NAT64 = 1;
const bit<16> TABLE_ICMP6 = 2;
const bit<16> TABLE_V6_NETWORKS = 3;
const bit<16> TABLE_NAT46 = 4;
const bit<16> TABLE_V4_NETWORKS = 5;
const bit<16> TYPE_IPV4 = 0x0800;