summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-12-01 18:18:35 +0000
committerimp <imp@FreeBSD.org>2006-12-01 18:18:35 +0000
commit639f8e8a33103256ce71386c1883505d1ae1b2ce (patch)
tree3e547c291012db61811540fb63be22688f9c5503 /sys/net/bridgestp.h
parentb49de5db1b4d4480a6cae31b21e80f67fb5efc7a (diff)
downloadFreeBSD-src-639f8e8a33103256ce71386c1883505d1ae1b2ce.zip
FreeBSD-src-639f8e8a33103256ce71386c1883505d1ae1b2ce.tar.gz
Use FreeBDS standard __packed as opposed to the gcc centric
__attribute__(__packed__).
Diffstat (limited to 'sys/net/bridgestp.h')
-rw-r--r--sys/net/bridgestp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bridgestp.h b/sys/net/bridgestp.h
index 9ebe354..845fc96 100644
--- a/sys/net/bridgestp.h
+++ b/sys/net/bridgestp.h
@@ -217,7 +217,7 @@ struct bstp_cbpdu {
uint16_t cbu_hellotime; /* hello time */
uint16_t cbu_forwarddelay; /* forwarding delay */
uint8_t cbu_versionlen; /* version 1 length */
-} __attribute__((__packed__));
+} __packed__;
#define BSTP_BPDU_STP_LEN (3 + 35) /* LLC + STP pdu */
#define BSTP_BPDU_RSTP_LEN (3 + 36) /* LLC + RSTP pdu */
@@ -229,7 +229,7 @@ struct bstp_tbpdu {
uint16_t tbu_protoid; /* protocol id */
uint8_t tbu_protover; /* protocol version */
uint8_t tbu_bpdutype; /* message type */
-} __attribute__((__packed__));
+} __packed;
/*
* Timekeeping structure used in spanning tree code.
OpenPOWER on IntegriCloud