Use the same number in kernel

pull/21643/head
Lidi Zheng 5 years ago
parent 8e53e5712f
commit 8391b12117
  1. 3
      src/core/lib/iomgr/tcp_custom.h

@ -24,7 +24,8 @@
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/iomgr/sockaddr.h"
#define GRPC_CUSTOM_SOCKET_OPT_SO_REUSEPORT (0x00000010u)
// Same number as the micro of SO_REUSEPORT in kernel
#define GRPC_CUSTOM_SOCKET_OPT_SO_REUSEPORT (0x00000200u)
typedef struct grpc_tcp_listener grpc_tcp_listener;
typedef struct grpc_custom_tcp_connect grpc_custom_tcp_connect;

Loading…
Cancel
Save