diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 04:40:56 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 04:40:56 +0100 |
commit | a5a7b233b728f6d26a9f593f0a47265465522f4b (patch) | |
tree | 55994836c4dc15c98c344345004c025e812c2282 /src/peer.h | |
parent | c162b223b8965490839b4d56701a8f37d5304a71 (diff) | |
download | fastd-a5a7b233b728f6d26a9f593f0a47265465522f4b.tar fastd-a5a7b233b728f6d26a9f593f0a47265465522f4b.zip |
peer: make interface name configurable per peer
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -72,10 +72,11 @@ struct fastd_peer { fastd_protocol_key_t *key; /**< The peer's public key */ fastd_protocol_peer_state_t *protocol_state; /**< Protocol-specific peer state */ - fastd_iface_t *iface; /**< The interface this peer is associated with */ + char *ifname; /**< Peer-specific interface name */ /* Starting here, more dynamic fields follow: */ + fastd_iface_t *iface; /**< The interface this peer is associated with */ /** The socket used by the peer. This can either be a common bound socket or a dynamic, unbound socket that is used exclusively by this peer */ fastd_socket_t *sock; |