summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authoralexandr nedvedicky - Sun Microsystems - Prague Czech Republic <alexandr.nedvedicky@oracle.com>2019-04-17 09:44:24 +0200
committersashan <anedvedicky@gmail.com>2019-04-18 01:15:03 +0200
commited2c22b7b4d1d580537fa5936ca9e0883823b25e (patch)
treedbc0d615f751406f7cf41e4da2348d505fd1ade3 /print.c
parentde250d521595a56f6654d5d0d10f9b0d5500cee9 (diff)
downloadtcpdump-ed2c22b7b4d1d580537fa5936ca9e0883823b25e.tar.gz
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)
Diffstat (limited to 'print.c')
-rw-r--r--print.c3
1 files changed, 3 insertions, 0 deletions
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 */