From 15402933bc93f930f9767f6b2fb16fdb29c3c50e Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 14 Sep 2016 16:55:25 -0700 Subject: Add physical MTU recommendation hint to network config via API. --- include/ZeroTierOne.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index e4ea92b4..e0f6ca28 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -977,6 +977,11 @@ typedef struct */ unsigned int mtu; + /** + * Recommended MTU to avoid fragmentation at the physical layer (hint) + */ + unsigned int physicalMtu; + /** * If nonzero, the network this port belongs to indicates DHCP availability * @@ -1604,6 +1609,9 @@ typedef int (*ZT_PathCheckFunction)( * Note that this can take a few seconds the first time it's called, as it * will generate an identity. * + * TODO: should consolidate function pointers into versioned structure for + * better API stability. + * * @param node Result: pointer is set to new node instance on success * @param uptr User pointer to pass to functions/callbacks * @param now Current clock in milliseconds -- cgit v1.2.3