From b93d5759c9b39ff153a14d474d800cd981f7dc97 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 22 Jan 2017 02:32:32 -0800 Subject: Event notification via pollable FDs verified working. --- src/core/protocol.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/protocol.h') diff --git a/src/core/protocol.h b/src/core/protocol.h index 52774080..9869afc9 100644 --- a/src/core/protocol.h +++ b/src/core/protocol.h @@ -100,9 +100,9 @@ struct nni_proto { // These flags determine which operations make sense. We use them so that // we can reject attempts to create notification fds for operations that make // no sense. -#define NNI_PROTO_FLAG_RECV 1 // Protocol can receive -#define NNI_PROTO_FLAG_SEND 2 // Protocol can send -#define NNI_PROTO_FLAG_SENDRECV 3 // Protocol can both send & recv +#define NNI_PROTO_FLAG_RCV 1 // Protocol can receive +#define NNI_PROTO_FLAG_SND 2 // Protocol can send +#define NNI_PROTO_FLAG_SNDRCV 3 // Protocol can both send & recv // These functions are not used by protocols, but rather by the socket // core implementation. The lookups can be used by transports as well. -- cgit v1.2.3-70-g09d2