summaryrefslogtreecommitdiffstats
path: root/src/tlv_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tlv_types.h')
-rw-r--r--src/tlv_types.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/tlv_types.h b/src/tlv_types.h
index 26ddefc..08a23b6 100644
--- a/src/tlv_types.h
+++ b/src/tlv_types.h
@@ -64,26 +64,21 @@ typedef struct __attribute__((packed)) gp_babel_tlv_update {
uint16_t interval;
uint16_t seqno;
uint16_t metric;
- uint16_t type;
- uint16_t key;
- uint8_t payload[];
+ uint16_t version;
+ gp_babel_node_id_t node;
} gp_babel_tlv_update_t;
-typedef struct __attribute__((packed)) gp_babel_tlv_announce_req {
+typedef struct __attribute__((packed)) gp_babel_tlv_route_req {
uint8_t flags;
uint8_t reserved;
gp_babel_node_id_t node;
- uint16_t type;
- uint16_t key;
-} gp_babel_tlv_announce_req_t;
+} gp_babel_tlv_route_req_t;
typedef struct __attribute__((packed)) gp_babel_tlv_seqno_req {
uint16_t seqno;
uint8_t hop_count;
uint8_t reserved;
gp_babel_node_id_t node;
- uint16_t type;
- uint16_t key;
} gp_babel_tlv_seqno_req_t;
#endif /* _GMRF_PROTO_BABEL_TLV_TYPES_H_ */