Here some experiments around network parsers.
- Ethernet II
- IPv4
- UDP
- SIMBA (FIX)
- PCAP
Tested with gcc-12.2.0:
$ ./build-n-run.sh <path/to/pcap/file>
- unit tests are to be implemented
- there is a base parsing: assert()'s could be triggered on other dumps
- big-endian architecture is to be supported: static_assert()'s will be triggered
- only one SBE message is parsed in incremental packets: see WA_PARSE_ONE_MESSAGE macro
- SBE message data parsing is to be implemented: see WA_STUB_MESSAGE_DATA macro