From 5c2973001e20132bb47dbd23a1c5e815c56e8cfb Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 25 Oct 2018 20:42:09 -0400 Subject: Add local IP address tuning for ZeroTier. These options are undocumented -- for now. We need to get some experience with them to ensure that they are worth keeping. --- src/core/options.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/options.h') diff --git a/src/core/options.h b/src/core/options.h index 2a21a039..ac64f9e3 100644 --- a/src/core/options.h +++ b/src/core/options.h @@ -32,6 +32,8 @@ extern int nni_copyin_size( extern int nni_copyin_str(char *, const void *, size_t, size_t, nni_opt_type); extern int nni_copyin_ptr(void **, const void *, size_t, nni_opt_type); extern int nni_copyin_u64(uint64_t *, const void *, size_t, nni_opt_type); +extern int nni_copyin_sockaddr( + nng_sockaddr *, const void *, size_t, nni_opt_type); // nni_copyout_xxx copies out a type of the named value. It assumes that // the type is aligned and the size correct, unless NNI_TYPE_OPAQUE is passed. -- cgit v1.2.3-70-g09d2