diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-21 00:24:28 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-21 00:24:28 +0200 |
commit | 2bfd77c93454037152aa7af07f44cb6ca9229e83 (patch) | |
tree | 92545adceebb4779e43d6e53e893325e4ffc831b /ffd/ffd.h | |
parent | a4986182dcad508c17a6eb8fd3e556f18cfaa349 (diff) | |
download | ffd-2bfd77c93454037152aa7af07f44cb6ca9229e83.tar ffd-2bfd77c93454037152aa7af07f44cb6ca9229e83.zip |
Move send functions to a new header
Diffstat (limited to 'ffd/ffd.h')
-rw-r--r-- | ffd/ffd.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -211,18 +211,4 @@ void ffd_update_enqueue(const ffd_node_id_t *node, uint16_t type, uint16_t key, int ffd_update_timeout(void); void ffd_update_run(void); -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); -void ffd_send_seqno_request(ffd_neigh_t *neigh, ffd_announce_t *announce, uint16_t seqno); - -static inline void ffd_send_seqno_request_for(ffd_neigh_t *neigh, ffd_announce_t *announce) { - if (FFD_IS_INFINITY(announce->feasibility_distance)) - return; - - ffd_send_seqno_request(neigh, announce, announce->feasibility_distance.seqno+1); -} - #endif /* _FFD_FFD_H_ */ |