Bitwidth change / adjust
This commit is contained in:
parent
8448e5121b
commit
bc63f5edcf
2 changed files with 2 additions and 9 deletions
|
|
@ -8,7 +8,7 @@
|
|||
typedef bit<48> mac_addr_t;
|
||||
typedef bit<32> ipv4_addr_t;
|
||||
typedef bit<128> ipv6_addr_t;
|
||||
typedef bit<16> port_t;
|
||||
typedef bit<9> port_t;
|
||||
typedef bit<16> mcast_t;
|
||||
typedef bit<8> task_t;
|
||||
|
||||
|
|
@ -112,8 +112,8 @@ header icmp_t {
|
|||
}
|
||||
|
||||
header cpu_t {
|
||||
port_t ingress_port;
|
||||
task_t task;
|
||||
bit<16> ingress_port;
|
||||
bit<16> ethertype;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue