diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-08 02:45:07 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-08 02:45:07 +0200 |
commit | 26f5dc2ab09ed83380a374300b10a245f4c848f4 (patch) | |
tree | 7b03c6b85859cb8e470491a18aac135ebb4c226d /ffd/ffd.h | |
parent | 46a05f96643b31ca6b4006c34cdee21c273bc2a4 (diff) | |
download | ffd-26f5dc2ab09ed83380a374300b10a245f4c848f4.tar ffd-26f5dc2ab09ed83380a374300b10a245f4c848f4.zip |
Answer requests for single announcements
Diffstat (limited to 'ffd/ffd.h')
-rw-r--r-- | ffd/ffd.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -186,10 +186,13 @@ static inline bool ffd_is_feasible(const ffd_announce_t *announce, ffd_metric_se void ffd_announce_update(ffd_announce_t *announce); void ffd_announce_update_nexthop(ffd_announce_t *announce, ffd_nexthop_t *nexthop, ffd_metric_seqno_t ms, uint16_t interval); ffd_announce_t* ffd_announce_new(void); +ffd_announce_t* ffd_announce_find(const ffd_node_id_t *node, uint16_t type, uint16_t key); +ffd_announce_t* ffd_announce_get(const ffd_node_id_t *node, uint16_t type, uint16_t key); -void ffd_send_ack(ffd_iface_t *iface, ffd_neigh_t *neigh, uint16_t nonce); +void ffd_send_ack(ffd_neigh_t *neigh, uint16_t nonce); void ffd_send_hellos(void); void ffd_send_update(ffd_iface_t *iface, ffd_neigh_t *neigh, ffd_announce_t *announce, bool with_data); +void ffd_send_retract(ffd_neigh_t *neigh, ffd_node_id_t node, uint16_t type, uint16_t key); void ffd_send_announce_request(ffd_iface_t *iface, ffd_neigh_t *neigh, ffd_node_id_t node, uint16_t type, uint16_t key, bool with_data); #endif /* _FFD_FFD_H_ */ |