diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-24 02:17:05 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-24 02:17:05 +0100 |
commit | 14f32dfc31b65b730fe72d56c28d30222d3e7f2f (patch) | |
tree | b9ff071f29de6dded153399d7d78457deae6ac12 /src/types.h | |
parent | 13b755cd43cc022450abad9d6391ae7d2d731773 (diff) | |
download | babel-14f32dfc31b65b730fe72d56c28d30222d3e7f2f.tar babel-14f32dfc31b65b730fe72d56c28d30222d3e7f2f.zip |
Add sending of updates
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/types.h b/src/types.h index 58b3721..a659230 100644 --- a/src/types.h +++ b/src/types.h @@ -33,12 +33,15 @@ #define GP_BABEL_NODE_ID_LENGTH 8 typedef struct __attribute__((packed)) gp_gabel_node_id { - uint8_t id[GP_BABEL_NODE_ID_LENGTH]; + uint8_t id[GP_BABEL_NODE_ID_LENGTH]; } gp_babel_node_id_t; +static const gp_babel_node_id_t gp_babel_node_id_unspec = {}; + + typedef struct gp_babel_metric_seqno { - uint16_t metric; - uint16_t seqno; + uint16_t metric; + uint16_t seqno; } gp_babel_metric_seqno_t; |