Re: [tcpdump-workers] pcap_inject and 802.1q subinterfaces on Solaris?

2011-05-23 Thread Tim Sammut
On 05/20/2011 04:08 PM, Darren Reed wrote: > Hi, Darren, thanks for the note. > Are you using a virtual interface such as vnic0? > Or does it have another name? The virtual interfaces appear as ce101002 and ce102002; the physical interface is ce2. We're using the instructions at [1] to setup th

[tcpdump-workers] pcap_inject and 802.1q subinterfaces on Solaris?

2011-05-19 Thread Tim Sammut
Hi, everyone. I have a small tool that uses pcap_inject to send ethernet frames on specific host interfaces. When injecting on a 802.1q virtual interface on Solaris the frame is ultimately transmitted without the 802.1q header that should have been add by the host OS. This is Solaris 10 on SPARC w

[tcpdump-workers] Linux system headers 2.6.36 and pcap/bpf.h

2011-01-12 Thread Tim Sammut
Hello. I have an odd problem and I am hoping you all can help. It appears that starting in the Linux system headers around version 2.6.36 [1], /usr/include/linux/if_tun.h began including /usr/include/linux/filter.h [2]. filter.h however, defines BPF_MAJOR_VERSION which ends up excluding the entir