summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-03-24 17:26:52 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-03-24 17:26:52 +0100
commitec6370ade8d4e8039325b4a578dec6a7e1bca696 (patch)
treea091dd20a7b61b91d0721a8c3c14e9d64cc9439a /src/peer.h
parent9eac618a73006c9c74f79695d94a4ed305583c39 (diff)
downloadfastd-ec6370ade8d4e8039325b4a578dec6a7e1bca696.tar
fastd-ec6370ade8d4e8039325b4a578dec6a7e1bca696.zip
Add some MTU-related Doxygen comments
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peer.h b/src/peer.h
index 948bbc6..ea1b950 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -284,6 +284,7 @@ static inline const fastd_string_stack_t * fastd_peer_get_methods(const fastd_pe
return NULL;
}
+/** Returns the MTU to use for a peer */
static inline uint16_t fastd_peer_get_mtu(const fastd_peer_t *peer) {
if (conf.mode == MODE_TAP)
return conf.mtu;