Re: [tcpdump-workers] Use of critical section on Win32

2013-05-14 Thread Guy Harris
On May 14, 2013, at 8:21 AM, Gisle Vanem wrote: > I really don't understand the motivation behind the Win32-code > for pcap_compile(). I assume the motivation is that pcap_compile() is not thread-safe. It's no more thread-safe on UN*X, so if the goal is to allow programs to use it without hav

[tcpdump-workers] Use of critical section on Win32

2013-05-14 Thread Gisle Vanem
I really don't understand the motivation behind the Win32-code for pcap_compile(). In gencode.c: int pcap_compile(pcap_t *p, struct bpf_program *program, const char *buf, int optimize, bpf_u_int32 mask) { int result; EnterCriticalSection(&g_PcapCompileCriticalSection); result = pcap_compil

Re: [tcpdump-workers] Link-Layer Header Type request for Linux Kernel Messages

2013-05-14 Thread Michael Richardson
> "Michal" == Michal Labedzki writes: Michal> Are there any comments on that? (since month) I agree... I don't understand why putting these things into a pcap layer helps anyone. Have you looked at: http://datatracker.ietf.org/wg/syslog/charter/ and http://datatracker.ietf.org/do

[tcpdump-workers] Link-Layer Header Types request for Android

2013-05-14 Thread Michal.Labedzki
Hello, I would like to request a new link-layer header type values: LINKTYPE_ANDROID_ADB DLT_ANDROID_ADB LINKTYPE_ANDROID_LOGGER DLT_ANDROID_LOGGER First is ADB. Android Debug Bridge is protocols used to manage Android platforms (connect, send command, receive data). Please check also Android

Re: [tcpdump-workers] Link-Layer Header Type request for Linux Kernel Messages

2013-05-14 Thread Michal.Labedzki
Hi, Are there any comments on that? (since month) Pozdrawiam / Best regards - Michał Łabędzki, Software Engineer Tieto Corporation Product Engineering Services http://www.tieto.com / http