++notes; try to cast & save payload_length in ingress
This commit is contained in:
parent
e0a9d28606
commit
ee62eb32c3
2 changed files with 28 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ control MyIngress(inout headers hdr,
|
|||
hdr.icmp6.type = ICMP6_ECHO_REPLY;
|
||||
|
||||
meta.do_cksum = 1;
|
||||
//meta.cast_length = (bit<32>) hdr.ipv6.payload_length;
|
||||
meta.cast_length = (bit<32>) hdr.ipv6.payload_length;
|
||||
}
|
||||
|
||||
/* this needs SESSIONS!!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue