diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-25 03:23:13 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-25 03:23:13 +0200 |
commit | 8c193693d7d0b5b118cf2831eeef15e28ee9851e (patch) | |
tree | 1493736f1c293453da09bfe7b322d8daa4fc0d03 /src/peer.h | |
parent | 1723e18b1d92c3fe6d60ea8cef514901cac8e5ba (diff) | |
download | fastd-8c193693d7d0b5b118cf2831eeef15e28ee9851e.tar fastd-8c193693d7d0b5b118cf2831eeef15e28ee9851e.zip |
Move around some code
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -151,9 +151,6 @@ static inline bool fastd_peer_handshake_scheduled(fastd_peer_t *peer) { return fastd_dlist_linked(&peer->handshake_entry); } -fastd_eth_addr_t fastd_get_source_address(const fastd_buffer_t buffer); -fastd_eth_addr_t fastd_get_dest_address(const fastd_buffer_t buffer); - static inline bool fastd_peer_config_is_floating(const fastd_peer_config_t *config) { return (!config->remotes || config->floating); } @@ -202,5 +199,7 @@ static inline bool fastd_eth_addr_is_unicast(fastd_eth_addr_t addr) { } void fastd_peer_eth_addr_add(fastd_peer_t *peer, fastd_eth_addr_t addr); -void fastd_peer_eth_addr_cleanup(void); fastd_peer_t* fastd_peer_find_by_eth_addr(fastd_eth_addr_t addr); + +void fastd_peer_handle_handshake_queue(void); +void fastd_peer_maintenance(void); |