diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2013-12-29 17:46:42 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2013-12-29 18:02:29 +0400 |
commit | 35c5cd9911f3fcc385e4a04c31016c253ee7a426 (patch) | |
tree | f9e529193504e65cd8b3216b782e8b0890592779 /ospf.h | |
parent | 47cd247bea92e51dea234a069b5d9d21c6292b3d (diff) | |
download | tcpdump-35c5cd9911f3fcc385e4a04c31016c253ee7a426.tar.gz |
OSPFv3: add crypto authentication (RFC6506) support
* Update ospf6_print() to distinguish packet length and OSPFv3 data
length.
* Fix ospf6_print_lshdr(), ospf6_print_lsa() and ospf6_decode_v3() to
print the variable-sized part of DBDesc, LS-Upd and LS-Ack packets
with the declared length of the OSPFv3 data in mind.
* Implement as little LLS decoding in ospf6_print_lls() as necessary to
indicate and skip an LLS data block.
* Implement normal AT decoding in ospf6_decode_at().
* Add ospf6_decode_v3_trailer() to couple the above with ospf6_print().
This commit doesn't include a sample capture as the only existing RFC6506
implementation is not yet ready to serve as a reference.
Diffstat (limited to 'ospf.h')
-rw-r--r-- | ospf.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -137,6 +137,8 @@ #define MCLA_VERTEX_NETWORK 2 /* Link-Local-Signaling */ +#define OSPF_LLS_HDRLEN 4U /* RFC5613 Section 2.2 */ + #define OSPF_LLS_EO 1 /* RFC4811, RFC4812 */ #define OSPF_LLS_MD5 2 /* RFC4813 */ |