hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/include/uapi/linux/ip.h
....@@ -18,6 +18,7 @@
1818 #ifndef _UAPI_LINUX_IP_H
1919 #define _UAPI_LINUX_IP_H
2020 #include <linux/types.h>
21
+#include <linux/stddef.h>
2122 #include <asm/byteorder.h>
2223
2324 #define IPTOS_TOS_MASK 0x1E
....@@ -100,8 +101,14 @@
100101 __u8 ttl;
101102 __u8 protocol;
102103 __sum16 check;
103
- __be32 saddr;
104
- __be32 daddr;
104
+#ifndef __GENKSYMS__
105
+ __struct_group(/* no tag */, addrs, /* no attrs */,
106
+#endif
107
+ __be32 saddr;
108
+ __be32 daddr;
109
+#ifndef __GENKSYMS__
110
+ );
111
+#endif
105112 /*The options start here. */
106113 };
107114
....@@ -169,7 +176,6 @@
169176 IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST,
170177 IPV4_DEVCONF_DROP_GRATUITOUS_ARP,
171178 IPV4_DEVCONF_BC_FORWARDING,
172
- IPV4_DEVCONF_VENDOR_PADDING,
173179 __IPV4_DEVCONF_MAX
174180 };
175181