diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-09-23 06:25:08 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-09-23 06:25:08 +0000 |
| commit | ebc82cbbf01c9c5686e288b279faf53750347b81 (patch) | |
| tree | c64473ad2e9302c65a81387cb678dd7c17089662 /sys/net/if_gre.h | |
| parent | e30c8e45bce0b2eaff40521478d4c25a18209173 (diff) | |
Notes
Diffstat (limited to 'sys/net/if_gre.h')
| -rw-r--r-- | sys/net/if_gre.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_gre.h b/sys/net/if_gre.h index 84e2e615e51b0..a626ee7d95a72 100644 --- a/sys/net/if_gre.h +++ b/sys/net/if_gre.h @@ -84,12 +84,12 @@ struct gre_h { struct gre_sre[] routing Routing fileds (see below) Present if (rt_pres == 1) */ -} __attribute__((__packed__)); +} __packed; struct greip { struct ip gi_i; struct gre_h gi_g; -} __attribute__((__packed__)); +} __packed; #define gi_pr gi_i.ip_p #define gi_len gi_i.ip_len @@ -128,12 +128,12 @@ struct mobile_h { u_int16_t hcrc; /* header checksum */ u_int32_t odst; /* original destination address */ u_int32_t osrc; /* original source addr, if S-bit set */ -} __attribute__((__packed__)); +} __packed; struct mobip_h { struct ip mi; struct mobile_h mh; -} __attribute__((__packed__)); +} __packed; #define MOB_H_SIZ_S (sizeof(struct mobile_h) - sizeof(u_int32_t)) |
