aboutsummaryrefslogtreecommitdiff
path: root/src/core/protocol.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-21 21:41:41 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-21 21:41:41 -0800
commit99a78ade3a6034784e40d5dfa70cc72aa09021ca (patch)
treea1ebe245333e8e52832b647e0f70637b3326ad11 /src/core/protocol.h
parent423c776ad9b8a68196bb4d9acfbfd5b7b9c4edc6 (diff)
downloadnng-99a78ade3a6034784e40d5dfa70cc72aa09021ca.tar.gz
nng-99a78ade3a6034784e40d5dfa70cc72aa09021ca.tar.bz2
nng-99a78ade3a6034784e40d5dfa70cc72aa09021ca.zip
Adds NNG_OPT_SENDFD and NNG_OPT_RECVFD socket options (untested).
Diffstat (limited to 'src/core/protocol.h')
-rw-r--r--src/core/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/protocol.h b/src/core/protocol.h
index e7ea8caf..52774080 100644
--- a/src/core/protocol.h
+++ b/src/core/protocol.h
@@ -92,7 +92,7 @@ struct nni_proto {
uint16_t proto_self; // our 16-bit D
uint16_t proto_peer; // who we peer with (ID)
const char * proto_name; // Our name
- uint16_t proto_flags; // Protocol flags
+ uint32_t proto_flags; // Protocol flags
const nni_proto_sock_ops * proto_sock_ops; // Per-socket opeations
const nni_proto_pipe_ops * proto_pipe_ops; // Per-pipe operations.
};