Add support for DLT_LINUX_SLL2 PCAP link-type

This commit is contained in:
Simeon Miteff 2022-08-15 15:32:20 +10:00
parent c887bcb517
commit b8f0acb5f1
13 changed files with 144 additions and 2 deletions

View file

@ -136,8 +136,8 @@ public:
/**
* Empty layer 2 address to be used as default value. For example, the
* LinuxSLL packet analyzer doesn't have a destination address in the
* header and thus sets it to this default address.
* LinuxSLL/LinuxSLL2 packet analyzers don't have a destination address
* in the header and thus sets it to this default address.
*/
static constexpr const u_char L2_EMPTY_ADDR[L2_ADDR_LEN] = {0};