Commit graph

29 commits

Author SHA1 Message Date
Nico Schottelius
2338d4d780 subtract ipv4, not ipv6 2019-07-17 17:54:05 +02:00
Nico Schottelius
d8d1defa50 ++cast 2019-07-17 17:38:55 +02:00
Nico Schottelius
831d69fe9c Remove function, because functions don't compile 2019-07-17 17:37:37 +02:00
Nico Schottelius
ed6c4daec9 ++code move for function 2019-07-17 15:48:16 +02:00
Nico Schottelius
512fca1349 update checksum code 2019-07-17 15:46:54 +02:00
Nico Schottelius
4286ad0832 undo 1's complement of the checksum, add / subtract and then redo 2019-07-17 15:17:06 +02:00
Nico Schottelius
bc90421426 Get rid of negative wrap around 2019-07-16 13:05:13 +02:00
Nico Schottelius
811e4c2b11 Separate checksum addition/subtraction into 2 steps 2019-07-16 12:30:29 +02:00
Nico Schottelius
5221675b6a +v4sum 2019-07-16 12:16:36 +02:00
Nico Schottelius
ec48d89c67 get the v6sum 2019-07-16 12:14:46 +02:00
Nico Schottelius
ecab110d7c Back to 16 bit arithmetic 2019-07-16 12:06:26 +02:00
Nico Schottelius
1a39c35e3b Check how wrapping is done in P4 2019-07-16 11:53:00 +02:00
Nico Schottelius
beada8408a udp translation adopted 2019-07-16 10:55:17 +02:00
Nico Schottelius
baa50b91c6 Use own filtering code 2019-07-15 16:53:57 +02:00
Nico Schottelius
a8b00447e9 +dummy 2019-07-15 16:50:09 +02:00
Nico Schottelius
f0900c3821 update tcp checksumming 2019-07-15 16:48:24 +02:00
Nico Schottelius
26c27cefa8 Change order of complement & filtering 2019-07-15 16:20:51 +02:00
Nico Schottelius
991b725c36 -typo 2019-07-15 16:13:13 +02:00
Nico Schottelius
52adbb1990 Migrate scapy shift/filter code to P4 2019-07-15 16:11:21 +02:00
Nico Schottelius
2caace5735 +1 2019-07-15 14:25:50 +02:00
Nico Schottelius
fc60e4f45f -1 2019-07-15 14:24:04 +02:00
Nico Schottelius
51bf8b9ace netfpga: update test packet generator; checksum: implement carry over 2019-07-15 14:18:35 +02:00
Nico Schottelius
7599ebb89d Try to prevent underrun / possible off by one
Checking for bigger value
2019-07-13 18:05:50 +02:00
Nico Schottelius
86885760b2 update gen_testdata
- add more packets
- fix counter for one packet
2019-07-13 17:28:03 +02:00
Nico Schottelius
378e16f48c ++stuff 2019-07-11 08:47:34 +02:00
Nico Schottelius
7cec2b635d another meta fix 2019-07-10 13:43:37 +02:00
Nico Schottelius
ebda2acbdc meta is not in a hdr 2019-07-10 13:42:37 +02:00
Nico Schottelius
ae8ce224fc [delta checksum] in theory finish for v4-udp => v6-udp 2019-07-10 13:38:59 +02:00
Nico Schottelius
8309f4367c Split logic into smaller action blocks 2019-07-10 09:07:17 +02:00