version 1.30, 2007/12/21 02:07:54 |
version 1.31, 2007/12/25 18:33:46 |
|
|
u_int8_t ip_p; /* protocol */ |
u_int8_t ip_p; /* protocol */ |
u_int16_t ip_sum; /* checksum */ |
u_int16_t ip_sum; /* checksum */ |
struct in_addr ip_src, ip_dst; /* source and dest address */ |
struct in_addr ip_src, ip_dst; /* source and dest address */ |
} __attribute__((__packed__)); |
} __packed; |
|
|
#define IP_MAXPACKET 65535 /* maximum packet size */ |
#define IP_MAXPACKET 65535 /* maximum packet size */ |
#define IP_MINFRAGSIZE 69 /* minumum size that can be fraged */ |
#define IP_MINFRAGSIZE 69 /* minumum size that can be fraged */ |
Line 150 struct ip_timestamp { |
|
Line 150 struct ip_timestamp { |
|
struct ipt_ta { |
struct ipt_ta { |
struct in_addr ipt_addr; |
struct in_addr ipt_addr; |
n_time ipt_time; |
n_time ipt_time; |
} ipt_ta[1] __attribute__((__packed__)); |
} ipt_ta[1] __packed; |
} ipt_timestamp __attribute__((__packed__)); |
} ipt_timestamp __packed; |
} __attribute__((__packed__)); |
} __packed; |
|
|
/* flag bits for ipt_flg */ |
/* flag bits for ipt_flg */ |
#define IPOPT_TS_TSONLY 0 /* timestamps only */ |
#define IPOPT_TS_TSONLY 0 /* timestamps only */ |