X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/73a8fa9b50888b892002fe97cc6546ffb375b6ca..39d15607cad1b4b463794c1a67873f6182dc52f7:/print-vxlan.c diff --git a/print-vxlan.c b/print-vxlan.c index 9f8c3fb4..3ef9cf6a 100644 --- a/print-vxlan.c +++ b/print-vxlan.c @@ -24,9 +24,6 @@ #include "interface.h" #include "extract.h" -#include "addrtoname.h" - -#include "udp.h" /* * VXLAN header, draft-mahalingam-dutt-dcops-vxlan-03 @@ -37,15 +34,15 @@ * |R|R|R|R|I|R|R|R| Reserved | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | VXLAN Network Identifier (VNI) | Reserved | - * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ void -vxlan_print(const u_char *bp, u_int len, u_int port) +vxlan_print(const u_char *bp, u_int len) { u_int8_t flags; u_int32_t vni; - + if (len < 8) { printf("[|VXLAN]"); return;