Jacob B Schwartz: more click
Eddie Kohler
eddietwo at cag.lcs.mit.edu
Wed May 17 17:55:28 EDT 2000
this guy is sending me mucho mail.
------- Forwarded Message
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
by amsterdam.lcs.mit.edu (8.8.7/8.8.7) with SMTP id PAA24859
for <eddietwo at amsterdam.lcs.mit.edu>; Wed, 17 May 2000 15:08:43 -0400 (EDT)
Received: from GRAND-CENTRAL-STATION.MIT.EDU by MIT.EDU with SMTP
id AA22492; Wed, 17 May 00 14:08:41 EST
Received: from melbourne-city-street.MIT.EDU (MELBOURNE-CITY-STREET.MIT.EDU [18.69.0.45])
by grand-central-station.MIT.EDU (8.9.2/8.9.2) with ESMTP id PAA11234
for <eddietwo at MIT.EDU>; Wed, 17 May 2000 15:04:12 -0400 (EDT)
Received: from home-on-the-dome.mit.edu (HOME-ON-THE-DOME.MIT.EDU [18.184.0.46])
by melbourne-city-street.MIT.EDU (8.9.3/8.9.2) with ESMTP id PAA09249
for <eddietwo at MIT.EDU>; Wed, 17 May 2000 15:04:11 -0400 (EDT)
Received: (from quark at localhost) by home-on-the-dome.mit.edu (8.9.3)
id PAA17772; Wed, 17 May 2000 15:04:11 -0400 (EDT)
Message-Id: <200005171904.PAA17772 at home-on-the-dome.mit.edu>
To: eddietwo at MIT.EDU
Subject: more click
Date: Wed, 17 May 2000 15:04:11 -0400
From: Jacob B Schwartz <quark at MIT.EDU>
If you don't mind me bugging you again:
Do the "unused" parts of the structs indicate zero bits that should
be in the ICMP data in the IP packet? That is, in the generic case,
the packet header and 8 bits should come some number of bits after
the checksum? Or what?
/* most icmp request types */
struct icmp_generic
{
unsigned char icmp_type; /* one of the ICMP_TYPE_*'s above */
unsigned char icmp_code; /* one of the ICMP_CODE_*'s above */
unsigned short icmp_cksum; /* 16 1's comp csum */
unsigned int unused; /* should be zero */
/* followed by original IP header and first 8 octets of data */
};
/* parameter problem header */
struct icmp_param
{
unsigned char icmp_type; /* one of the ICMP_TYPE_*'s above */
unsigned char icmp_code; /* one of the ICMP_CODE_*'s above */
unsigned short icmp_cksum; /* 16 1's comp csum */
unsigned char pointer; /* which octect was a problem */
unsigned char unused[3]; /* should be zero */
/* followed by original IP header and first 8 octets of data */
};
------- End of Forwarded Message
More information about the click
mailing list