Commit Graph

10 Commits

Author SHA1 Message Date
Francois-Xavier Le Bail
e034477aef IPoIB: Update the link-layer header length when needed 2020-07-25 20:15:52 +02:00
Francois-Xavier Le Bail
7b96701040 IPoIB: Update the link-layer dissector to a void function 2020-07-25 16:55:45 +02:00
Francois-Xavier Le Bail
8dbfd7f299 Use quoted include netdissect-stdinc.h instead of angle-bracketed one 2019-09-02 14:42:16 +02:00
Francois-Xavier Le Bail
99bf81f9e2 IPoIB: Remove useless <pcap.h> include
It is already included in "netdissect.h".
2019-09-02 11:13:12 +02:00
Francois-Xavier Le Bail
7217abf41a Use nd_print_protocol_caps() to print the protocol name in caps 2019-06-23 14:22:19 +02:00
Francois-Xavier Le Bail
20eab47a4d Fix trailing spaces 2019-05-23 11:16:47 +02:00
Guy Harris
1aef89a791 Always include <config.h> rather than "config.h". 2019-04-25 15:48:45 -07:00
Francois-Xavier Le Bail
8e0c4a48ba IPoIB: Print the protocol name if -e option is given
Moreover:
Add a ndo_protocol field assignment.
Add a 'summary' comment with the protocol name.
Use ND_PRINT instead of printf.
Remove an useless comment.
Use the nd_print_trunc macro.
Simplify some pointer expressions.
2019-04-23 11:57:20 +02:00
Guy Harris
845d1aad10 Get rid of unused variables. 2019-04-17 19:32:54 -07:00
alexandr nedvedicky - Sun Microsystems - Prague Czech Republic
ed2c22b7b4 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)
2019-04-18 01:15:03 +02:00