Amos Jeffries wrote:
> On Wed, 20 Apr 2011 10:45:00 +0800, cc wrote:
>> Amos Jeffries wrote:
>> struct icmphdr
>> {
>> u_int8_t type; /* message type */
>> u_int8_t code; /* type sub-code */
>> u_int16_t checksum;
>> union
>> {
>> struct
>> {
>> u_int16_t id;
>> u_int16_t sequence;
>> } echo; /* echo datagram */
>> u_int32_t gateway; /* gateway address */
>> struct
>> {
>> u_int16_t __unused;
>> u_int16_t mtu;
>> } frag; /* path mtu discovery */
>> } un;
>> };
>
> WTF? "incomplete type" really. GCC 3.3 must have been screwed. I was
> expecting to see frag or echo as just a stub name we would have to
> locate elsewhere.
Hi Amos,
Thanks for the quick response. what exactly is the
struct supposed to look like? or better yet, where
might I find the correct one?
(Anyone in Slackware land that knows of where these
headers are found? i.e. which package?)
Thanks
Received on Wed Apr 20 2011 - 03:02:40 MDT
This archive was generated by hypermail 2.2.0 : Wed Apr 20 2011 - 12:00:03 MDT