summaryrefslogtreecommitdiff
path: root/ah.h
diff options
context:
space:
mode:
authoritojun <itojun>2002-11-09 17:19:16 +0000
committeritojun <itojun>2002-11-09 17:19:16 +0000
commit10afb02ac804db7fa41a776fd61eff922c09c4df (patch)
tree7853d4c0ef4bed1104cf17690a35df64acf49dfe /ah.h
parentdcc101488006c0dce19f4a4386b3cd936d9b6d87 (diff)
downloadtcpdump-10afb02ac804db7fa41a776fd61eff922c09c4df.tar.gz
put __attribute__((packed)) to packet headers. s/u_short/u_int16_t/ and so
forth while i'm here
Diffstat (limited to 'ah.h')
-rw-r--r--ah.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ah.h b/ah.h
index c22806af..ca3969a9 100644
--- a/ah.h
+++ b/ah.h
@@ -43,7 +43,7 @@ struct ah {
u_int16_t ah_reserve; /* Reserved for future use */
u_int32_t ah_spi; /* Security parameter index */
/* variable size, 32bit bound*/ /* Authentication data */
-};
+} __attribute__((packed));
struct newah {
u_int8_t ah_nxt; /* Next Header */
@@ -52,6 +52,6 @@ struct newah {
u_int32_t ah_spi; /* Security parameter index */
u_int32_t ah_seq; /* Sequence number field */
/* variable size, 32bit bound*/ /* Authentication data */
-};
+} __attribute__((packed));
#endif /*_NETINET6_AH_H_*/