]> The Tcpdump Group git mirrors - tcpdump/blobdiff - ip6.h
The third argument to linkaddr_string is one of the LINKADDR_ enums.
[tcpdump] / ip6.h
diff --git a/ip6.h b/ip6.h
index b5058a48e8df4ea92d0dc40ca75eab406d55931f..8757098c792a78d640115bf32b1121434c1870b7 100644 (file)
--- a/ip6.h
+++ b/ip6.h
@@ -88,7 +88,7 @@ struct ip6_hdr {
 };
 
 #define ip6_vfc                ip6_ctlun.ip6_un2_vfc
-#define IP6_VERSION(ip6_hdr)   ((EXTRACT_U_1((ip6_hdr)->ip6_vfc) & 0xf0) >> 4)
+#define IP6_VERSION(ip6_hdr)   ((GET_U_1((ip6_hdr)->ip6_vfc) & 0xf0) >> 4)
 #define ip6_flow       ip6_ctlun.ip6_un1.ip6_un1_flow
 #define ip6_plen       ip6_ctlun.ip6_un1.ip6_un1_plen
 #define ip6_nxt                ip6_ctlun.ip6_un1.ip6_un1_nxt
@@ -127,7 +127,7 @@ struct ip6_dest {
        /* followed by options */
 };
 
-/* http://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xhtml */
+/* https://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xhtml */
 
 /* Option types and related macros */
 #define IP6OPT_PAD1            0x00    /* 00 0 00000 */