From b116cd9ac44b940cdda9493bb77e81ea42f1db7d Mon Sep 17 00:00:00 2001 From: Darren Reed Date: Tue, 24 Nov 2009 21:20:25 -0500 Subject: The patches attached to this email are required to get a fully working tcpdump on OpenSolaris, or Solaris Express Community Edition, build 125 and later. The attached patch introduces support for printing out the IPNET headers used for packet capture inside of zones that share their networking with the global zone and for packets "transmitted" between zones. tcpdump 4.0.0 will ship with builds 129 and later of OpenSolaris/SXCE and when run as root with the '-L' option, should behave as below to indicate that the system is fully functional: Data link types (use option -y to set): DOCSIS (DOCSIS) (printing not supported) IPNET (Solaris IPNET) EN10MB (Ethernet) Cheers, Darren --- tcpdump.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tcpdump.c') diff --git a/tcpdump.c b/tcpdump.c index 18c7af4b..25feb7a0 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -281,6 +281,9 @@ static struct printer printers[] = { #endif #if defined(HAVE_PCAP_USB_H) && defined(DLT_USB_LINUX_MMAPPED) { usb_linux_print, DLT_USB_LINUX_MMAPPED}, +#endif +#ifdef DLT_IPNET + { ipnet_if_print, DLT_IPNET }, #endif { NULL, 0 }, }; -- cgit v1.2.1