summaryrefslogtreecommitdiffstats
path: root/ffd/ffd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-09-28 18:56:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-09-28 18:56:06 +0200
commitafffa65f906afbd9d73aea9da737ee53da827df4 (patch)
tree9f0677d3ff6be89988521b0a14f7f5d3b4a6cb61 /ffd/ffd.h
parentc5a1d00fc40a9c55024cfc7f92b0a455975ba503 (diff)
downloadffd-afffa65f906afbd9d73aea9da737ee53da827df4.tar
ffd-afffa65f906afbd9d73aea9da737ee53da827df4.zip
Handle hello packets
Diffstat (limited to 'ffd/ffd.h')
-rw-r--r--ffd/ffd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ffd/ffd.h b/ffd/ffd.h
index c78c4a4..e29fce6 100644
--- a/ffd/ffd.h
+++ b/ffd/ffd.h
@@ -45,6 +45,11 @@ typedef struct _ffd_neigh_t {
struct _ffd_neigh_t *next;
eth_addr_t addr;
+
+ uint16_t hello_log;
+ uint16_t hello_interval;
+ uint16_t last_seqno;
+ struct timespec last_hello;
} ffd_neigh_t;
typedef struct _ffd_iface_t {
@@ -56,7 +61,7 @@ typedef struct _ffd_iface_t {
netif_type_t type;
uint16_t seqno;
- ffd_neigh_t *neighs;
+ ffd_neigh_t *neigh_list;
} ffd_iface_t;
#endif /* _FFD_FFD_H_ */