| .. | .. |
|---|
| 18 | 18 | #ifndef _UAPI_LINUX_IP_H |
|---|
| 19 | 19 | #define _UAPI_LINUX_IP_H |
|---|
| 20 | 20 | #include <linux/types.h> |
|---|
| 21 | +#include <linux/stddef.h> |
|---|
| 21 | 22 | #include <asm/byteorder.h> |
|---|
| 22 | 23 | |
|---|
| 23 | 24 | #define IPTOS_TOS_MASK 0x1E |
|---|
| .. | .. |
|---|
| 100 | 101 | __u8 ttl; |
|---|
| 101 | 102 | __u8 protocol; |
|---|
| 102 | 103 | __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 |
|---|
| 105 | 112 | /*The options start here. */ |
|---|
| 106 | 113 | }; |
|---|
| 107 | 114 | |
|---|
| .. | .. |
|---|
| 169 | 176 | IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST, |
|---|
| 170 | 177 | IPV4_DEVCONF_DROP_GRATUITOUS_ARP, |
|---|
| 171 | 178 | IPV4_DEVCONF_BC_FORWARDING, |
|---|
| 172 | | - IPV4_DEVCONF_VENDOR_PADDING, |
|---|
| 173 | 179 | __IPV4_DEVCONF_MAX |
|---|
| 174 | 180 | }; |
|---|
| 175 | 181 | |
|---|