From 1c1eeaf46ee543baa3f02c6229e9620f08d2f198 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 25 Mar 2019 14:04:11 +0100 Subject: [PATCH] + table id bit width --- p4src/headers.p4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/p4src/headers.p4 b/p4src/headers.p4 index e3e0e12..dd8fe16 100644 --- a/p4src/headers.p4 +++ b/p4src/headers.p4 @@ -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;