X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1fe6e66ecec3fb7a7cc729038012cbb264542331..0845bc813c1cc48b18cdefff0b387c110647463c:/print-vxlan.c?ds=inline diff --git a/print-vxlan.c b/print-vxlan.c index a86e9cfa..fd12d2d3 100644 --- a/print-vxlan.c +++ b/print-vxlan.c @@ -13,18 +13,19 @@ * Original code by Francesco Fondelli (francesco dot fondelli, gmail dot com) */ -#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif #include -#include "interface.h" +#include "netdissect.h" #include "extract.h" /* - * VXLAN header, draft-mahalingam-dutt-dcops-vxlan-03 + * VXLAN header, RFC7348 + * Virtual eXtensible Local Area Network (VXLAN): A Framework + * for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks * * 0 1 2 3 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 @@ -38,8 +39,8 @@ void vxlan_print(netdissect_options *ndo, const u_char *bp, u_int len) { - u_int8_t flags; - u_int32_t vni; + uint8_t flags; + uint32_t vni; if (len < 8) { ND_PRINT((ndo, "[|VXLAN]"));