Re: [tcpdump-workers] DLT type for Libpcap Library

2022-08-29 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Aug 29, 2022, at 6:13 AM, Christian wrote: >> "Defined" in what sense? > > First of all, I want to define a header, with a magic byte maybe, a time > stamp, length of the whole packet and so on. Something which wraps my actual > data and which libpcap can recognize or

Re: [tcpdump-workers] DLT type for Libpcap Library

2022-08-29 Thread Christian via tcpdump-workers
--- Begin Message --- "Defined" in what sense? First of all, I want to define a header, with a magic byte maybe, a time stamp, length of the whole packet and so on. Something which wraps my actual data and which libpcap can recognize or rather expect as data which can be read from my device

Re: [tcpdump-workers] DLT type for Libpcap Library

2022-08-29 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Aug 24, 2022, at 11:31 AM, Christian via tcpdump-workers wrote: > Hello everyone, another question that I have is which DLT-type I should use > for my libpcap-module. Since Im writing a module which acquires data from a > kernel module, which in turn has no IP-based