]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vxlan.c
NDOize AH, BEEP and DTP decoders
[tcpdump] / print-vxlan.c
index 2e5433e34648be1f1e344d947ead68aab417e3c6..3ef9cf6a96249381638a534011f2fc5d7f845db7 100644 (file)
 
 #include "interface.h"
 #include "extract.h"
-#include "addrtoname.h"
-
-#include "udp.h"
 
 /*
  * VXLAN header, draft-mahalingam-dutt-dcops-vxlan-03
  *
  *     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
- *
  *    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  *    |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;