]> Git Repo - qemu.git/blobdiff - slirp/if.h
intel_iommu: use access_flags for iotlb
[qemu.git] / slirp / if.h
index 33270239fdb84f14df3cf9db5d92769caef11010..69569c10df61fbfdec3e66d19cacff3f18bc710c 100644 (file)
@@ -5,8 +5,8 @@
  * terms and conditions of the copyright.
  */
 
-#ifndef _IF_H_
-#define _IF_H_
+#ifndef IF_H
+#define IF_H
 
 #define IF_COMPRESS    0x01    /* We want compression */
 #define IF_NOCOMPRESS  0x02    /* Do not do compression */
@@ -17,7 +17,7 @@
 #define IF_MRU 1500
 #define        IF_COMP IF_AUTOCOMP     /* Flags for compression */
 
-/* 2 for alignment, 14 for ethernet, 40 for TCP/IP */
-#define IF_MAXLINKHDR (2 + 14 + 40)
+/* 2 for alignment, 14 for ethernet */
+#define IF_MAXLINKHDR (2 + ETH_HLEN)
 
 #endif
This page took 0.024499 seconds and 4 git commands to generate.