aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/protocol')
-rw-r--r--src/sp/protocol/bus0/bus.c2
-rw-r--r--src/sp/protocol/pair0/pair.c2
-rw-r--r--src/sp/protocol/pair1/pair.c2
-rw-r--r--src/sp/protocol/pair1/pair1_poly.c1
-rw-r--r--src/sp/protocol/pipeline0/pull.c2
-rw-r--r--src/sp/protocol/pipeline0/push.c2
-rw-r--r--src/sp/protocol/pubsub0/pub.c2
-rw-r--r--src/sp/protocol/pubsub0/sub.c1
-rw-r--r--src/sp/protocol/pubsub0/xsub.c1
-rw-r--r--src/sp/protocol/reqrep0/rep.c1
-rw-r--r--src/sp/protocol/reqrep0/req.c1
-rw-r--r--src/sp/protocol/reqrep0/xrep.c1
-rw-r--r--src/sp/protocol/reqrep0/xreq.c1
-rw-r--r--src/sp/protocol/survey0/respond.c1
-rw-r--r--src/sp/protocol/survey0/survey.c1
-rw-r--r--src/sp/protocol/survey0/xrespond.c1
-rw-r--r--src/sp/protocol/survey0/xsurvey.c1
17 files changed, 0 insertions, 23 deletions
diff --git a/src/sp/protocol/bus0/bus.c b/src/sp/protocol/bus0/bus.c
index 0bbfb031..b69e31b9 100644
--- a/src/sp/protocol/bus0/bus.c
+++ b/src/sp/protocol/bus0/bus.c
@@ -503,7 +503,6 @@ static nni_proto_sock_ops bus0_sock_ops_raw = {
};
static nni_proto bus0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_BUS_V0, "bus" },
.proto_peer = { NNI_PROTO_BUS_V0, "bus" },
.proto_flags = NNI_PROTO_FLAG_SNDRCV,
@@ -512,7 +511,6 @@ static nni_proto bus0_proto = {
};
static nni_proto bus0_proto_raw = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_BUS_V0, "bus" },
.proto_peer = { NNI_PROTO_BUS_V0, "bus" },
.proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/pair0/pair.c b/src/sp/protocol/pair0/pair.c
index bf895858..9cd910e9 100644
--- a/src/sp/protocol/pair0/pair.c
+++ b/src/sp/protocol/pair0/pair.c
@@ -560,7 +560,6 @@ static nni_proto_sock_ops pair0_sock_ops = {
// Legacy protocol (v0)
static nni_proto pair0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_PAIR_V0, "pair" },
.proto_peer = { NNI_PROTO_PAIR_V0, "pair" },
.proto_flags = NNI_PROTO_FLAG_SNDRCV,
@@ -569,7 +568,6 @@ static nni_proto pair0_proto = {
};
static nni_proto pair0_proto_raw = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_PAIR_V0, "pair" },
.proto_peer = { NNI_PROTO_PAIR_V0, "pair" },
.proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW,
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,
diff --git a/src/sp/protocol/pipeline0/pull.c b/src/sp/protocol/pipeline0/pull.c
index f295556d..72e30acc 100644
--- a/src/sp/protocol/pipeline0/pull.c
+++ b/src/sp/protocol/pipeline0/pull.c
@@ -286,7 +286,6 @@ static nni_proto_sock_ops pull0_sock_ops = {
};
static nni_proto pull0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_PULL_V0, "pull" },
.proto_peer = { NNI_PROTO_PUSH_V0, "push" },
.proto_flags = NNI_PROTO_FLAG_RCV,
@@ -295,7 +294,6 @@ static nni_proto pull0_proto = {
};
static nni_proto pull0_proto_raw = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_PULL_V0, "pull" },
.proto_peer = { NNI_PROTO_PUSH_V0, "push" },
.proto_flags = NNI_PROTO_FLAG_RCV | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/pipeline0/push.c b/src/sp/protocol/pipeline0/push.c
index 3be746c9..6833504e 100644
--- a/src/sp/protocol/pipeline0/push.c
+++ b/src/sp/protocol/pipeline0/push.c
@@ -404,7 +404,6 @@ static nni_proto_sock_ops push0_sock_ops = {
};
static nni_proto push0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_PUSH_V0, "push" },
.proto_peer = { NNI_PROTO_PULL_V0, "pull" },
.proto_flags = NNI_PROTO_FLAG_SND,
@@ -413,7 +412,6 @@ static nni_proto push0_proto = {
};
static nni_proto push0_proto_raw = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_PUSH_V0, "push" },
.proto_peer = { NNI_PROTO_PULL_V0, "pull" },
.proto_flags = NNI_PROTO_FLAG_SND | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/pubsub0/pub.c b/src/sp/protocol/pubsub0/pub.c
index bc0e5d66..97566a11 100644
--- a/src/sp/protocol/pubsub0/pub.c
+++ b/src/sp/protocol/pubsub0/pub.c
@@ -410,7 +410,6 @@ static nni_proto_sock_ops pub0_sock_ops = {
};
static nni_proto pub0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_PUB_V0, "pub" },
.proto_peer = { NNI_PROTO_SUB_V0, "sub" },
.proto_flags = NNI_PROTO_FLAG_SND,
@@ -419,7 +418,6 @@ static nni_proto pub0_proto = {
};
static nni_proto pub0_proto_raw = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_PUB_V0, "pub" },
.proto_peer = { NNI_PROTO_SUB_V0, "sub" },
.proto_flags = NNI_PROTO_FLAG_SND | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/pubsub0/sub.c b/src/sp/protocol/pubsub0/sub.c
index 487d82c8..9176ad1c 100644
--- a/src/sp/protocol/pubsub0/sub.c
+++ b/src/sp/protocol/pubsub0/sub.c
@@ -683,7 +683,6 @@ static nni_proto_sock_ops sub0_sock_ops = {
};
static nni_proto sub0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_SUB_V0, "sub" },
.proto_peer = { NNI_PROTO_PUB_V0, "pub" },
.proto_flags = NNI_PROTO_FLAG_RCV,
diff --git a/src/sp/protocol/pubsub0/xsub.c b/src/sp/protocol/pubsub0/xsub.c
index 7fdcf341..785c0ae9 100644
--- a/src/sp/protocol/pubsub0/xsub.c
+++ b/src/sp/protocol/pubsub0/xsub.c
@@ -203,7 +203,6 @@ static nni_proto_sock_ops xsub0_sock_ops = {
};
static nni_proto xsub0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_SUB_V0, "sub" },
.proto_peer = { NNI_PROTO_PUB_V0, "pub" },
.proto_flags = NNI_PROTO_FLAG_RCV | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/reqrep0/rep.c b/src/sp/protocol/reqrep0/rep.c
index ea3e9558..940a79a0 100644
--- a/src/sp/protocol/reqrep0/rep.c
+++ b/src/sp/protocol/reqrep0/rep.c
@@ -673,7 +673,6 @@ static nni_proto_sock_ops rep0_sock_ops = {
};
static nni_proto rep0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { REP0_SELF, REP0_SELF_NAME },
.proto_peer = { REP0_PEER, REP0_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV,
diff --git a/src/sp/protocol/reqrep0/req.c b/src/sp/protocol/reqrep0/req.c
index 451253bd..cc2875ce 100644
--- a/src/sp/protocol/reqrep0/req.c
+++ b/src/sp/protocol/reqrep0/req.c
@@ -933,7 +933,6 @@ static nni_proto_sock_ops req0_sock_ops = {
};
static nni_proto req0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { REQ0_SELF, REQ0_SELF_NAME },
.proto_peer = { REQ0_PEER, REQ0_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV,
diff --git a/src/sp/protocol/reqrep0/xrep.c b/src/sp/protocol/reqrep0/xrep.c
index e0b5fece..2422da0d 100644
--- a/src/sp/protocol/reqrep0/xrep.c
+++ b/src/sp/protocol/reqrep0/xrep.c
@@ -430,7 +430,6 @@ static nni_proto_sock_ops xrep0_sock_ops = {
};
static nni_proto xrep0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { REP0_SELF, REP0_SELF_NAME },
.proto_peer = { REP0_PEER, REP0_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/reqrep0/xreq.c b/src/sp/protocol/reqrep0/xreq.c
index 8939d8f4..e99623ea 100644
--- a/src/sp/protocol/reqrep0/xreq.c
+++ b/src/sp/protocol/reqrep0/xreq.c
@@ -313,7 +313,6 @@ static nni_proto_sock_ops xreq0_sock_ops = {
};
static nni_proto xreq0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { REQ0_SELF, REQ0_SELF_NAME },
.proto_peer = { REQ0_PEER, REQ0_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/survey0/respond.c b/src/sp/protocol/survey0/respond.c
index 85c96843..25f2f2b6 100644
--- a/src/sp/protocol/survey0/respond.c
+++ b/src/sp/protocol/survey0/respond.c
@@ -659,7 +659,6 @@ static nni_proto_sock_ops resp0_sock_ops = {
};
static nni_proto resp0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_RESPONDENT_V0, "respondent" },
.proto_peer = { NNI_PROTO_SURVEYOR_V0, "surveyor" },
.proto_flags = NNI_PROTO_FLAG_SNDRCV,
diff --git a/src/sp/protocol/survey0/survey.c b/src/sp/protocol/survey0/survey.c
index 1c678d1e..d52e6012 100644
--- a/src/sp/protocol/survey0/survey.c
+++ b/src/sp/protocol/survey0/survey.c
@@ -608,7 +608,6 @@ static nni_proto_sock_ops surv0_sock_ops = {
};
static nni_proto surv0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { SURVEYOR0_SELF, SURVEYOR0_SELF_NAME },
.proto_peer = { SURVEYOR0_PEER, SURVEYOR0_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV,
diff --git a/src/sp/protocol/survey0/xrespond.c b/src/sp/protocol/survey0/xrespond.c
index e9fa209c..3d8267de 100644
--- a/src/sp/protocol/survey0/xrespond.c
+++ b/src/sp/protocol/survey0/xrespond.c
@@ -408,7 +408,6 @@ static nni_proto_sock_ops xresp0_sock_ops = {
};
static nni_proto xresp0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { NNI_PROTO_RESPONDENT_V0, "respondent" },
.proto_peer = { NNI_PROTO_SURVEYOR_V0, "surveyor" },
.proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW,
diff --git a/src/sp/protocol/survey0/xsurvey.c b/src/sp/protocol/survey0/xsurvey.c
index c01c20c3..abb0246f 100644
--- a/src/sp/protocol/survey0/xsurvey.c
+++ b/src/sp/protocol/survey0/xsurvey.c
@@ -378,7 +378,6 @@ static nni_proto_sock_ops xsurv0_sock_ops = {
};
static nni_proto xsurv0_proto = {
- .proto_version = NNI_PROTOCOL_VERSION,
.proto_self = { SURVEYOR0_SELF, SURVEYOR0_SELF_NAME },
.proto_peer = { SURVEYOR0_PEER, SURVEYOR0_PEER_NAME },
.proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW,