diff options
author | itojun <itojun> | 2002-11-09 17:19:16 +0000 |
---|---|---|
committer | itojun <itojun> | 2002-11-09 17:19:16 +0000 |
commit | 10afb02ac804db7fa41a776fd61eff922c09c4df (patch) | |
tree | 7853d4c0ef4bed1104cf17690a35df64acf49dfe /ah.h | |
parent | dcc101488006c0dce19f4a4386b3cd936d9b6d87 (diff) | |
download | tcpdump-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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_*/ |