Line
Link Here
|
0 |
-- /usr/include/linux/ip.h 2016-12-13 02:43:29.632211373 +0000 |
0 |
++ /usr/include/linux/ip.h 2016-12-13 02:38:35.512207519 +0000 |
Lines 82-108
Link Here
|
82 |
|
82 |
|
83 |
#define IPV4_BEET_PHMAXLEN 8 |
83 |
#define IPV4_BEET_PHMAXLEN 8 |
84 |
|
84 |
|
85 |
struct iphdr { |
85 |
//struct iphdr { |
86 |
#if defined(__LITTLE_ENDIAN_BITFIELD) |
86 |
//#if defined(__LITTLE_ENDIAN_BITFIELD) |
87 |
__u8 ihl:4, |
87 |
// __u8 ihl:4, |
88 |
version:4; |
88 |
// version:4; |
89 |
#elif defined (__BIG_ENDIAN_BITFIELD) |
89 |
//#elif defined (__BIG_ENDIAN_BITFIELD) |
90 |
__u8 version:4, |
90 |
// __u8 version:4, |
91 |
ihl:4; |
91 |
// ihl:4; |
92 |
#else |
92 |
//#else |
93 |
#error "Please fix <asm/byteorder.h>" |
93 |
//#error "Please fix <asm/byteorder.h>" |
94 |
#endif |
94 |
//#endif |
95 |
__u8 tos; |
95 |
// __u8 tos; |
96 |
__be16 tot_len; |
96 |
// __be16 tot_len; |
97 |
__be16 id; |
97 |
// __be16 id; |
98 |
__be16 frag_off; |
98 |
// __be16 frag_off; |
99 |
__u8 ttl; |
99 |
// __u8 ttl; |
100 |
__u8 protocol; |
100 |
// __u8 protocol; |
101 |
__sum16 check; |
101 |
// __sum16 check; |
102 |
__be32 saddr; |
102 |
// __be32 saddr; |
103 |
__be32 daddr; |
103 |
// __be32 daddr; |
104 |
/*The options start here. */ |
104 |
// /*The options start here. */ |
105 |
}; |
105 |
//}; |
106 |
|
106 |
|
107 |
|
107 |
|
108 |
struct ip_auth_hdr { |
108 |
struct ip_auth_hdr { |