]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vxlan-gpe.c
Add printing support for vsockmon devices.
[tcpdump] / print-vxlan-gpe.c
index 7a022598a4b26971384bf6504c846b6b31868754..1364534ed20317d17a6e4906ef5ebde71490f0ab 100644 (file)
@@ -69,13 +69,13 @@ vxlan_gpe_print(netdissect_options *ndo, const u_char *bp, u_int len)
 
     ND_TCHECK_LEN(bp, VXLAN_GPE_HDR_LEN);
 
-    flags = EXTRACT_U_1(bp);
+    flags = GET_U_1(bp);
     bp += 3;
 
-    next_protocol = EXTRACT_U_1(bp);
+    next_protocol = GET_U_1(bp);
     bp += 1;
 
-    vni = EXTRACT_BE_U_3(bp);
+    vni = GET_BE_U_3(bp);
     bp += 4;
 
     ND_PRINT("VXLAN-GPE, ");