aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/pair1
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-25 20:28:43 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-25 20:28:43 -0700
commitc2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632 (patch)
tree29d666d89ac98c1a1b7259b2cf5b12af2c30c919 /src/sp/protocol/pair1
parentcc419cf01d9c060a3bd3fc318f9b9bc9e736dae9 (diff)
downloadnng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.tar.gz
nng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.tar.bz2
nng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.zip
Drop the protocol version for internal implementations.
The ops vector / protocol API/ABI were meant to support external implementations, but we have moved away from having pluggable protocols, and we aren't likely to support it any time soon.
Diffstat (limited to 'src/sp/protocol/pair1')
-rw-r--r--src/sp/protocol/pair1/pair.c2
-rw-r--r--src/sp/protocol/pair1/pair1_poly.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/sp/protocol/pair1/pair.c b/src/sp/protocol/pair1/pair.c
index bddde6f8..138af845 100644
--- a/src/sp/protocol/pair1/pair.c
+++ b/src/sp/protocol/pair1/pair.c
@@ -793,7 +793,6 @@ static nni_proto_sock_ops pair1_sock_ops = {
};
static nni_proto pair1_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { PAIR1_SELF, PAIR1_SELF_NAME },
.proto_peer = { PAIR1_PEER, PAIR1_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV,
@@ -821,7 +820,6 @@ static nni_proto_sock_ops pair1_sock_ops_raw = {
};
static nni_proto pair1_proto_raw = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { PAIR1_SELF, PAIR1_SELF_NAME },
.proto_peer = { PAIR1_PEER, PAIR1_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/pair1/pair1_poly.c b/src/sp/protocol/pair1/pair1_poly.c
index 9c34cd00..958e6cb9 100644
--- a/src/sp/protocol/pair1/pair1_poly.c
+++ b/src/sp/protocol/pair1/pair1_poly.c
@@ -532,7 +532,6 @@ static nni_proto_sock_ops pair1poly_sock_ops = {
};
static nni_proto pair1poly_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { PAIR1_SELF, PAIR1_SELF_NAME },
.proto_peer = { PAIR1_PEER, PAIR1_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV,