From ed2c22b7b4d1d580537fa5936ca9e0883823b25e Mon Sep 17 00:00:00 2001 From: alexandr nedvedicky - Sun Microsystems - Prague Czech Republic Date: Wed, 17 Apr 2019 09:44:24 +0200 Subject: InfiniBand support for tcpdump. InfiniBand support for tcpdump. This is an in-house patch. Sent upstream for potential inclusion in future versions of tcpdump. (also adding print-ipoib.c to CMakeLists.txt, asked by @guyharris) (s/u_int16_t/uint16_t asked by @guyharris) --- print.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'print.c') diff --git a/print.c b/print.c index 1416d186..458b8846 100644 --- a/print.c +++ b/print.c @@ -106,6 +106,9 @@ static const struct printer printers[] = { #ifdef DLT_IPV6 { raw_if_print, DLT_IPV6 }, #endif +#ifdef DLT_IPOIB + { ipoib_if_print, DLT_IPOIB }, +#endif #ifdef DLT_USB_LINUX { usb_linux_48_byte_if_print, DLT_USB_LINUX}, #endif /* DLT_USB_LINUX */ -- cgit v1.2.1