Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pcapng enhancements (idb,epb) and some fixes (#4342)
* pcapng enhancements (idb,epb) and some fixes Based on draft-ietf-opsawg-pcapng-latest, 5 March 2024. -map packet.sniffed_on to unique IDB id. When writing, if_name option and linktype is populated based on the first packet seen with a unique sniffed_on string. -map packet.direction to EPB flags inbound/outbound direction bits. Remaining flag bits not implemented. -simplified RawPcapNgReader._read_options() and moved (code,value) treatment to the caller since codes of same type can have different meaning for different type of blocks. -Fix RawPcapNgReader._read_block_shb() and _write_block_shb(). --------- Co-authored-by: Guillaume Valadon <guillaume@valadon.net>
- Loading branch information