Add checksums for udp_6, udp_v4, tcp_v6, tcp_v4

This commit is contained in:
Nico Schottelius 2019-04-11 10:08:11 +02:00
commit bf59808806
6 changed files with 118 additions and 7 deletions

View file

@ -446,6 +446,9 @@ Echo or Echo Reply Message
hdr.icmp.code = 0;
}
}
if(hdr.udp.isValid()) {
meta.chk_udp = 1;
}
v4_networks.apply(); /* apply egress for IPv4 */
exit; /* no further v6 processing */