[tcpdump-workers] PCAP_ERROR/PCAP_ERROR_BREAK or -1/-2?

2018-07-25 Thread Denis Ovsienko
Hello list. Roughly a half of the libpcap man pages text uses the values -1 and -2 to discuss the return value of particular libpcap functions, the other half uses PCAP_ERROR and PCAP_ERROR_BREAK. Is there a good reason to keep it this way instead of using PCAP_ERROR/PCAP_ERROR_BREAK consisten

Re: [tcpdump-workers] PCAP_ERROR/PCAP_ERROR_BREAK or -1/-2?

2018-07-25 Thread Guy Harris
On Jul 25, 2018, at 12:57 AM, Denis Ovsienko wrote: > Roughly a half of the libpcap man pages text uses the values -1 and -2 to > discuss the return value of particular libpcap functions, the other half uses > PCAP_ERROR and PCAP_ERROR_BREAK. > > Is there a good reason to keep it this way inst

Re: [tcpdump-workers] Metamako DLT Request

2018-07-25 Thread David Mirabito
On 24 July 2018 at 11:46, Guy Harris wrote: > On Jul 23, 2018, at 6:36 PM, David Mirabito wrote: > > > We'd like to request a new DLT_ value for Metamako's packet capture > trailer > > that is generated by our MetaWatch network application. > > > > https://www.metamako.com/applications/meta

Re: [tcpdump-workers] PCAP_ERROR/PCAP_ERROR_BREAK or -1/-2?

2018-07-25 Thread Denis Ovsienko
On Wed, 25 Jul 2018 09:11:23 +0100 Guy Harris wrote > On Jul 25, 2018, at 12:57 AM, Denis Ovsienko wrote: > > > Roughly a half of the libpcap man pages text uses the values -1 and -2 to > > discuss the return value of particular libpcap functions, the other half > > uses PC

Re: [tcpdump-workers] Metamako DLT Request

2018-07-25 Thread Guy Harris
On Jul 25, 2018, at 1:47 AM, David Mirabito wrote: > I have attached a more detailed description as a text file (lest email mangle > the ASCII-art), but in short, a packet would look on the wire like: > > * SOF > * Destination address > * Source Address > * EtherType/Length > * Payload > * FCS

Re: [tcpdump-workers] Metamako DLT Request

2018-07-25 Thread David Mirabito
Hi Guy, Thanks for the comments, addressed inline: > I have attached a more detailed description as a text file (lest email > mangle the ASCII-art), but in short, a packet would look on the wire like: > > > > * SOF > > * Destination address > > * Source Address > > * EtherType/Length > > * Payloa