++todos ++proto
This commit is contained in:
parent
c64e6d3950
commit
8bc292564e
2 changed files with 14 additions and 2 deletions
|
|
@ -13,7 +13,12 @@ typedef bit<9> port_t;
|
|||
|
||||
const bit<16> TYPE_IPV4 = 0x0800;
|
||||
const bit<16> TYPE_IPV6 = 0x86DD;
|
||||
const bit<8> TYPE_TCP = 6;
|
||||
|
||||
const bit<8> PROTO_ICMP = 1;
|
||||
const bit<8> PROTO_TCP = 6;
|
||||
const bit<8> PROTO_UDP = 17;
|
||||
const bit<8> PROTO_ICMP6 = 58;
|
||||
|
||||
const bit<8> TCP_SEQ_LEN = 4;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue