[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

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

2011-05-19 Thread Guy Harris
On May 19, 2011, at 3:33 PM, Tim Sammut wrote: > 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

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

2011-05-19 Thread Guy Harris
On May 19, 2011, at 7:43 PM, Guy Harris wrote: > Ultimately, libpcap depends on the OS to provide raw packet capture and > injection capabilities. If the Solaris networking stack allows a DLPI device > bound to a VLAN interface to have packets handed to it with a full Ethernet > header and to