diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2020-07-29 14:29:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-29 14:29:34 -0400 |
| commit | 25ee44b52278c86fda27f76e932f6a12c375bf10 (patch) | |
| tree | bea9a0e54e73dafb08400f7e2e435d5be7fa1e93 /ospf6d/ospf6_message.h | |
| parent | 93d08879ad18f820ba00181aaf9a320471d3f7a8 (diff) | |
| parent | 6894924238aa70b7031df3bf77548f1857342217 (diff) | |
Merge pull request #6732 from opensourcerouting/printfrr-prep
*: preparations for printfrr coccinelle run
Diffstat (limited to 'ospf6d/ospf6_message.h')
| -rw-r--r-- | ospf6d/ospf6_message.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ospf6d/ospf6_message.h b/ospf6d/ospf6_message.h index d24b7f8942..7ec8cb785f 100644 --- a/ospf6d/ospf6_message.h +++ b/ospf6d/ospf6_message.h @@ -49,8 +49,8 @@ struct ospf6_header { uint8_t version; uint8_t type; uint16_t length; - uint32_t router_id; - uint32_t area_id; + in_addr_t router_id; + in_addr_t area_id; uint16_t checksum; uint8_t instance_id; uint8_t reserved; @@ -66,8 +66,8 @@ struct ospf6_hello { uint8_t options[3]; uint16_t hello_interval; uint16_t dead_interval; - uint32_t drouter; - uint32_t bdrouter; + in_addr_t drouter; + in_addr_t bdrouter; /* Followed by Router-IDs */ }; @@ -94,8 +94,8 @@ struct ospf6_dbdesc { struct ospf6_lsreq_entry { uint16_t reserved; /* Must Be Zero */ uint16_t type; /* LS type */ - uint32_t id; /* Link State ID */ - uint32_t adv_router; /* Advertising Router */ + in_addr_t id; /* Link State ID */ + in_addr_t adv_router; /* Advertising Router */ }; /* Link State Update */ |
