diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-12-13 20:43:33 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-12-13 20:43:33 -0800 |
commit | 6fe42957957f1c74af1e2b69631cfd7d5d41a80c (patch) | |
tree | f7353bf87d75f76dfe3b72cfccfffc5d81556d4c /ah.h | |
parent | 41c93b0d335b7b4f9c9f639d94429f7a4d753387 (diff) | |
download | tcpdump-6fe42957957f1c74af1e2b69631cfd7d5d41a80c.tar.gz |
Use nd_ types for AH headers.
Diffstat (limited to 'ah.h')
-rw-r--r-- | ah.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -38,19 +38,19 @@ #define _NETINET6_AH_H_ struct ah { - uint8_t ah_nxt; /* Next Header */ - uint8_t ah_len; /* Length of data, in 32bit */ - uint16_t ah_reserve; /* Reserved for future use */ - uint32_t ah_spi; /* Security parameter index */ + nd_uint8_t ah_nxt; /* Next Header */ + nd_uint8_t ah_len; /* Length of data, in 32bit */ + nd_uint16_t ah_reserve; /* Reserved for future use */ + nd_uint32_t ah_spi; /* Security parameter index */ /* variable size, 32bit bound*/ /* Authentication data */ }; struct newah { - uint8_t ah_nxt; /* Next Header */ - uint8_t ah_len; /* Length of data + 1, in 32bit */ - uint16_t ah_reserve; /* Reserved for future use */ - uint32_t ah_spi; /* Security parameter index */ - uint32_t ah_seq; /* Sequence number field */ + nd_uint8_t ah_nxt; /* Next Header */ + nd_uint8_t ah_len; /* Length of data + 1, in 32bit */ + nd_uint16_t ah_reserve; /* Reserved for future use */ + nd_uint32_t ah_spi; /* Security parameter index */ + nd_uint32_t ah_seq; /* Sequence number field */ /* variable size, 32bit bound*/ /* Authentication data */ }; |