0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Problem: ZMQ_BINDTODEVICE has met STABLE conditions

Solution: move them from DRAFT to STABLE since it's been in a public
release, committed for 6+ months and has not changed.
This commit is contained in:
Luca Boccassi 2018-03-19 21:23:59 +00:00
parent 374da4207b
commit 3cb79f5042
3 changed files with 5 additions and 2 deletions

4
NEWS
View File

@ -11,6 +11,10 @@
- ZMQ_GSSAPI_NT_USER_NAME - ZMQ_GSSAPI_NT_USER_NAME
- ZMQ_GSSAPI_NT_KRB5_PRINCIPAL - ZMQ_GSSAPI_NT_KRB5_PRINCIPAL
See doc/zmq_gssapi.txt for details. See doc/zmq_gssapi.txt for details.
- ZMQ_BINDTODEVICE socket option (Linux only), which will bind the
socket(s) to the specified interface. Allows to use Linux VRF, see:
https://www.kernel.org/doc/Documentation/networking/vrf.txt
NOTE: requires the program to be ran as root OR with CAP_NET_RAW
0MQ version 4.2.4 stable, released on 2018/03/21 0MQ version 4.2.4 stable, released on 2018/03/21

View File

@ -375,6 +375,7 @@ ZMQ_EXPORT const char *zmq_msg_gets (const zmq_msg_t *msg,
#define ZMQ_USE_FD 89 #define ZMQ_USE_FD 89
#define ZMQ_GSSAPI_PRINCIPAL_NAMETYPE 90 #define ZMQ_GSSAPI_PRINCIPAL_NAMETYPE 90
#define ZMQ_GSSAPI_SERVICE_PRINCIPAL_NAMETYPE 91 #define ZMQ_GSSAPI_SERVICE_PRINCIPAL_NAMETYPE 91
#define ZMQ_BINDTODEVICE 92
/* Message options */ /* Message options */
#define ZMQ_MORE 1 #define ZMQ_MORE 1
@ -592,7 +593,6 @@ ZMQ_EXPORT void zmq_threadclose (void *thread);
#define ZMQ_DGRAM 18 #define ZMQ_DGRAM 18
/* DRAFT Socket options. */ /* DRAFT Socket options. */
#define ZMQ_BINDTODEVICE 92
#define ZMQ_ZAP_ENFORCE_DOMAIN 93 #define ZMQ_ZAP_ENFORCE_DOMAIN 93
#define ZMQ_LOOPBACK_FASTPATH 94 #define ZMQ_LOOPBACK_FASTPATH 94
#define ZMQ_METADATA 95 #define ZMQ_METADATA 95

View File

@ -51,7 +51,6 @@ unsigned long zmq_stopwatch_intermediate (void *watch_);
#define ZMQ_DGRAM 18 #define ZMQ_DGRAM 18
/* DRAFT Socket options. */ /* DRAFT Socket options. */
#define ZMQ_BINDTODEVICE 92
#define ZMQ_ZAP_ENFORCE_DOMAIN 93 #define ZMQ_ZAP_ENFORCE_DOMAIN 93
#define ZMQ_LOOPBACK_FASTPATH 94 #define ZMQ_LOOPBACK_FASTPATH 94
#define ZMQ_METADATA 95 #define ZMQ_METADATA 95