diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-10-25 20:42:09 -0400 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-10-25 21:06:02 -0400 |
| commit | 5c2973001e20132bb47dbd23a1c5e815c56e8cfb (patch) | |
| tree | fc90779a27a6f9ef38b406a6621d14b6ed5ac382 /src/core/options.h | |
| parent | 96b042b925ccc28c6cf179da20e582bf66c3302c (diff) | |
| download | nng-5c2973001e20132bb47dbd23a1c5e815c56e8cfb.tar.gz nng-5c2973001e20132bb47dbd23a1c5e815c56e8cfb.tar.bz2 nng-5c2973001e20132bb47dbd23a1c5e815c56e8cfb.zip | |
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.
Diffstat (limited to 'src/core/options.h')
| -rw-r--r-- | src/core/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
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. |
