summaryrefslogtreecommitdiffstats
path: root/sys/net/if_gre.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-09-23 06:25:08 +0000
committeralfred <alfred@FreeBSD.org>2002-09-23 06:25:08 +0000
commit9bda36d99712c4dcd253f988e696579f3ce3653c (patch)
treec64473ad2e9302c65a81387cb678dd7c17089662 /sys/net/if_gre.h
parentd5db7184e3f5c8d842f1e4407084d75fc49e953e (diff)
downloadFreeBSD-src-9bda36d99712c4dcd253f988e696579f3ce3653c.zip
FreeBSD-src-9bda36d99712c4dcd253f988e696579f3ce3653c.tar.gz
s/__attribute__((__packed__))/__packed/g
Diffstat (limited to 'sys/net/if_gre.h')
-rw-r--r--sys/net/if_gre.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_gre.h b/sys/net/if_gre.h
index 84e2e61..a626ee7 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))
OpenPOWER on IntegriCloud