[BACK]Return to ip.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/ip.h between version 1.30 and 1.31

version 1.30, 2007/12/21 02:07:54 version 1.31, 2007/12/25 18:33:46
Line 65  struct ip {
Line 65  struct ip {
         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 */

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

CVSweb <webmaster@jp.NetBSD.org>