From afffa65f906afbd9d73aea9da737ee53da827df4 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 28 Sep 2012 18:56:06 +0200 Subject: Handle hello packets --- ffd/ffd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ffd/ffd.h') 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_ */ -- cgit v1.2.3