|
8 | 8 | License, v. 2.0. If a copy of the MPL was not distributed with this
|
9 | 9 | file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
10 | 10 | -->
|
11 |
| - <version major = "4" style = "macro"> |
| 11 | + <version major = "4" minor = "3" style = "macro"> |
| 12 | + <!-- Options that are new in 4.3 --> |
| 13 | + <option name = "only_first_subscribe" type = "int" mode = "w" test = "XPUB" |
| 14 | + test_value = "1" > |
| 15 | + <restrict type = "XPUB" /> |
| 16 | + <restrict type = "XSUB" /> |
| 17 | + </option> |
| 18 | + |
| 19 | + <!-- We don't test these as libzmq doesn't always support WSS --> |
| 20 | + <option name = "wss_trust_system" type = "int" mode = "w" /> |
| 21 | + <option name = "wss_hostname" type = "string" mode = "w" /> |
| 22 | + <option name = "wss_trust_pem" type = "string" mode = "w" /> |
| 23 | + <option name = "wss_cert_pem" type = "string" mode = "w" /> |
| 24 | + <option name = "wss_key_pem" type = "string" mode = "w" /> |
| 25 | + |
| 26 | + <option name = "out_batch_size" type = "int" mode = "rw" test = "ROUTER" |
| 27 | + test_value = "16384" /> |
| 28 | + <option name = "in_batch_size" type = "int" mode = "rw" test = "ROUTER" |
| 29 | + test_value = "16384" /> |
| 30 | + <option name = "socks_password" type = "string" mode = "rw" test = "ROUTER" |
| 31 | + test_value = "password" /> |
| 32 | + <option name = "socks_username" type = "string" mode = "rw" test = "ROUTER" |
| 33 | + test_value = "username" /> |
| 34 | + <option name = "xpub_manual_last_value" type = "int" mode = "w" test = "XPUB" |
| 35 | + test_value = "1" > |
| 36 | + <restrict type = "XPUB" /> |
| 37 | + </option> |
| 38 | + <option name = "router_notify" type = "int" mode = "rw" test = "ROUTER" |
| 39 | + test_value = "3" /> |
| 40 | + <option name = "multicast_loop" type = "int" mode = "rw" test = "RADIO" |
| 41 | + test_value = "1" /> |
| 42 | + <option name = "metadata" type = "string" mode = "rw" test = "DEALER" |
| 43 | + test_value = "X-testkey:testvalue" /> |
| 44 | + <option name = "loopback_fastpath" type = "int" mode = "rw" test = "DEALER" |
| 45 | + test_value = "1" /> |
| 46 | + <option name = "zap_enforce_domain" type = "int" mode = "rw" test = "DEALER" |
| 47 | + test_value = "1" /> |
| 48 | + |
| 49 | + <!-- We don't test these as libzmq doesn't always support GSSAPI --> |
| 50 | + <option name = "gssapi_principal_nametype" type = "int" mode = "rw" /> |
| 51 | + <option name = "gssapi_service_principal_nametype" type = "int" mode = "rw" /> |
| 52 | + |
| 53 | + <!-- We don't test this as it requires CAP_NET_RAW or root --> |
| 54 | + <option name = "bindtodevice" type = "string" mode = "rw" /> |
| 55 | + </version> |
| 56 | + |
| 57 | + <version major = "4" minor = "2" style = "macro"> |
12 | 58 | <!-- Options that are new in 4.2 -->
|
13 | 59 | <option name = "heartbeat_ivl" type = "int" mode = "rw" test = "DEALER"
|
14 | 60 | test_value = "2000" />
|
|
54 | 100 | <option name = "vmci_buffer_min_size" type = "uint64" mode = "rw" />
|
55 | 101 | <option name = "vmci_buffer_max_size" type = "uint64" mode = "rw" />
|
56 | 102 | <option name = "vmci_connect_timeout" type = "int" mode = "rw" />
|
| 103 | + </version> |
57 | 104 |
|
| 105 | + <version major = "4" minor = "1" style = "macro"> |
58 | 106 | <!-- Options that are new in 4.1 -->
|
59 | 107 | <option name = "tos" type = "int" mode = "rw" test = "DEALER" />
|
60 | 108 | <option name = "router_handover" type = "int" mode = "w" test = "ROUTER">
|
|
74 | 122 | <restrict type = "XPUB" />
|
75 | 123 | <restrict type = "PUB" />
|
76 | 124 | </option>
|
77 |
| - |
| 125 | + </version> |
| 126 | + |
| 127 | + <version major = "4" style = "macro"> |
78 | 128 | <!-- Options that are new in 4.0 -->
|
79 | 129 | <option name = "router_mandatory" type = "int" mode = "w" test = "ROUTER">
|
80 | 130 | <restrict type = "ROUTER" />
|
|
122 | 172 | <!-- New names for deprecated 3.x options -->
|
123 | 173 | <option name = "ipv6" type = "int" mode = "rw" test = "SUB" />
|
124 | 174 | <option name = "immediate" type = "int" mode = "rw" test = "DEALER" />
|
125 |
| - |
126 |
| - <!-- Deprecated 3.x options --> |
127 |
| - <option name = "router_raw" type = "int" mode = "w" test = "ROUTER"> |
128 |
| - <restrict type = "ROUTER" /> |
129 |
| - </option> |
130 |
| - <option name = "ipv4only" type = "int" mode = "rw" test = "SUB" /> |
131 |
| - <option name = "delay_attach_on_connect" |
132 |
| - type = "int" mode = "w" test = "PUB" /> |
133 |
| - |
134 |
| - <!-- Options that are the same in 3.x --> |
135 |
| - <include name = "3-x options" /> |
136 | 175 | </version>
|
137 | 176 |
|
138 | 177 | <version major = "3" style = "macro">
|
139 | 178 | <!-- Options that are carried forward to 4.0 -->
|
140 |
| - <include name = "3-x options" /> |
141 |
| - |
| 179 | + <option name = "sndhwm" type = "int" mode = "rw" test = "PUB" /> |
| 180 | + <option name = "rcvhwm" type = "int" mode = "rw" test = "SUB" /> |
| 181 | + <option name = "maxmsgsize" type = "int64" mode = "rw" test = "SUB" /> |
| 182 | + <option name = "multicast_hops" type = "int" mode = "rw" test = "SUB" /> |
| 183 | + <option name = "xpub_verbose" type = "int" mode = "w" test = "XPUB"> |
| 184 | + <restrict type = "XPUB" /> |
| 185 | + </option> |
| 186 | + <option name = "tcp_keepalive" type = "int" mode = "rw" test = "SUB" /> |
| 187 | + <option name = "tcp_keepalive_idle" |
| 188 | + type = "int" mode = "rw" test = "SUB" /> |
| 189 | + <option name = "tcp_keepalive_cnt" type = "int" mode = "rw" test = "SUB" /> |
| 190 | + <option name = "tcp_keepalive_intvl" |
| 191 | + type = "int" mode = "rw" test = "SUB" /> |
| 192 | + <option name = "tcp_accept_filter" type = "string" mode = "rw" test = "SUB" |
| 193 | + test_value = "127.0.0.1" /> |
| 194 | + <option name = "last_endpoint" type = "string" mode = "r" test = "SUB" /> |
| 195 | + |
142 | 196 | <!-- Options that are deprecated in 4.0 -->
|
143 |
| - <option name = "router_raw" type = "int" mode = "w" test = "ROUTER"> |
| 197 | + <option name = "router_raw" type = "int" mode = "w" test = "ROUTER" > |
144 | 198 | <restrict type = "ROUTER" />
|
145 | 199 | </option>
|
146 | 200 | <option name = "ipv4only" type = "int" mode = "rw" test = "SUB" />
|
|
150 | 204 |
|
151 | 205 | <!-- Legacy version 2 -->
|
152 | 206 | <version major = "2" style = "macro">
|
153 |
| - <option name = "hwm" type = "uint64" mode = "rw" test = "SUB" /> |
154 |
| - <option name = "swap" type = "int64" mode = "rw" test = "SUB" /> |
| 207 | + <option name = "hwm" type = "uint64" mode = "rw" test = "SUB" major_removed = "3" /> |
| 208 | + <option name = "swap" type = "int64" mode = "rw" test = "SUB" major_removed = "3" /> |
155 | 209 | <option name = "affinity" type = "uint64" mode = "rw" test = "SUB" />
|
156 |
| - <option name = "identity" type = "string" mode = "rw" test = "SUB" /> |
157 |
| - <option name = "rate" type = "int64" mode = "rw" test = "SUB" /> |
158 |
| - <option name = "recovery_ivl" type = "int64" mode = "rw" test = "SUB" /> |
159 |
| - <option name = "recovery_ivl_msec" type = "int64" mode = "rw" test = "SUB" /> |
160 |
| - <option name = "mcast_loop" type = "int64" mode = "rw" test = "SUB" /> |
| 210 | + <option name = "identity" type = "string" mode = "rw" test = "DEALER"> |
| 211 | + <restrict type = "REQ" /> |
| 212 | + <restrict type = "REP" /> |
| 213 | + <restrict type = "DEALER" /> |
| 214 | + <restrict type = "ROUTER" /> |
| 215 | + </option> |
| 216 | + <option name = "rate" type = "int64" mode = "rw" test = "SUB" major_changed = "3" type_new = "int" /> |
| 217 | + <option name = "recovery_ivl" type = "int64" mode = "rw" test = "SUB" major_changed = "3" type_new = "int" /> |
| 218 | + <option name = "recovery_ivl_msec" type = "int64" mode = "rw" test = "SUB" major_removed = "3" /> |
| 219 | + <option name = "mcast_loop" type = "int64" mode = "rw" test = "SUB" major_removed = "3" /> |
161 | 220 | <option name = "rcvtimeo" type = "int" mode = "rw" test = "SUB" minor = "2" />
|
162 | 221 | <option name = "sndtimeo" type = "int" mode = "rw" test = "SUB" minor = "2" />
|
163 |
| - <option name = "sndbuf" type = "uint64" mode = "rw" test = "SUB" /> |
164 |
| - <option name = "rcvbuf" type = "uint64" mode = "rw" test = "SUB" /> |
| 222 | + <option name = "sndbuf" type = "uint64" mode = "rw" test = "SUB" major_changed = "3" type_new = "int" /> |
| 223 | + <option name = "rcvbuf" type = "uint64" mode = "rw" test = "SUB" major_changed = "3" type_new = "int" /> |
165 | 224 | <option name = "linger" type = "int" mode = "rw" test = "SUB" />
|
166 | 225 | <option name = "reconnect_ivl" type = "int" mode = "rw" test = "SUB" />
|
167 | 226 | <option name = "reconnect_ivl_max" type = "int" mode = "rw" test = "SUB" />
|
|
173 | 232 | <restrict type = "SUB" />
|
174 | 233 | </option>
|
175 | 234 | <option name = "type" type = "int" mode = "r" test = "SUB" />
|
176 |
| - <option name = "rcvmore" type = "int64" mode = "r" test = "SUB" /> |
| 235 | + <option name = "rcvmore" type = "int64" mode = "r" test = "SUB" major_changed = "3" type_new = "int" /> |
177 | 236 | <option name = "fd" type = "socket" mode = "r" test = "SUB" />
|
178 |
| - <option name = "events" type = "uint32" mode = "r" test = "SUB" /> |
| 237 | + <option name = "events" type = "uint32" mode = "r" test = "SUB" major_changed = "3" type_new = "int" /> |
179 | 238 | </version>
|
180 |
| - |
181 |
| - <macro name = "3-x options"> |
182 |
| - <option name = "type" type = "int" mode = "r" test = "SUB" /> |
183 |
| - <option name = "sndhwm" type = "int" mode = "rw" test = "PUB" /> |
184 |
| - <option name = "rcvhwm" type = "int" mode = "rw" test = "SUB" /> |
185 |
| - <option name = "affinity" type = "uint64" mode = "rw" test = "SUB" /> |
186 |
| - <option name = "subscribe" type = "string" mode = "w" test = "SUB"> |
187 |
| - <restrict type = "SUB" /> |
188 |
| - </option> |
189 |
| - <option name = "unsubscribe" type = "string" mode = "w" test = "SUB"> |
190 |
| - <restrict type = "SUB" /> |
191 |
| - </option> |
192 |
| - <option name = "identity" type = "string" mode = "rw" test = "DEALER"> |
193 |
| - <restrict type = "REQ" /> |
194 |
| - <restrict type = "REP" /> |
195 |
| - <restrict type = "DEALER" /> |
196 |
| - <restrict type = "ROUTER" /> |
197 |
| - </option> |
198 |
| - <option name = "rate" type = "int" mode = "rw" test = "SUB" /> |
199 |
| - <option name = "recovery_ivl" type = "int" mode = "rw" test = "SUB" /> |
200 |
| - <option name = "sndbuf" type = "int" mode = "rw" test = "PUB" /> |
201 |
| - <option name = "rcvbuf" type = "int" mode = "rw" test = "SUB" /> |
202 |
| - <option name = "linger" type = "int" mode = "rw" test = "SUB" /> |
203 |
| - <option name = "reconnect_ivl" type = "int" mode = "rw" test = "SUB" /> |
204 |
| - <option name = "reconnect_ivl_max" type = "int" mode = "rw" test = "SUB" /> |
205 |
| - <option name = "backlog" type = "int" mode = "rw" test = "SUB" /> |
206 |
| - <option name = "maxmsgsize" type = "int64" mode = "rw" test = "SUB" /> |
207 |
| - <option name = "multicast_hops" type = "int" mode = "rw" test = "SUB" /> |
208 |
| - <option name = "rcvtimeo" type = "int" mode = "rw" test = "SUB" /> |
209 |
| - <option name = "sndtimeo" type = "int" mode = "rw" test = "SUB" /> |
210 |
| - <option name = "xpub_verbose" type = "int" mode = "w" test = "XPUB"> |
211 |
| - <restrict type = "XPUB" /> |
212 |
| - </option> |
213 |
| - <option name = "tcp_keepalive" type = "int" mode = "rw" test = "SUB" /> |
214 |
| - <option name = "tcp_keepalive_idle" |
215 |
| - type = "int" mode = "rw" test = "SUB" /> |
216 |
| - <option name = "tcp_keepalive_cnt" type = "int" mode = "rw" test = "SUB" /> |
217 |
| - <option name = "tcp_keepalive_intvl" |
218 |
| - type = "int" mode = "rw" test = "SUB" /> |
219 |
| - <option name = "tcp_accept_filter" type = "string" mode = "rw" test = "SUB" |
220 |
| - test_value = "127.0.0.1" /> |
221 |
| - <option name = "rcvmore" type = "int" mode = "r" test = "SUB" /> |
222 |
| - <option name = "fd" type = "socket" mode = "r" test = "SUB" /> |
223 |
| - <option name = "events" type = "int" mode = "r" test = "SUB" /> |
224 |
| - <option name = "last_endpoint" type = "string" mode = "r" test = "SUB" /> |
225 |
| - </macro> |
226 | 239 | </options>
|
0 commit comments