diff options
Diffstat (limited to 'src/tcp.c')
-rw-r--r-- | src/tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,6 +71,7 @@ static luaL_Reg tcp_methods[] = { | |||
71 | static t_opt optget[] = { | 71 | static t_opt optget[] = { |
72 | {"keepalive", opt_get_keepalive}, | 72 | {"keepalive", opt_get_keepalive}, |
73 | {"reuseaddr", opt_get_reuseaddr}, | 73 | {"reuseaddr", opt_get_reuseaddr}, |
74 | {"reuseport", opt_get_reuseport}, | ||
74 | {"tcp-nodelay", opt_get_tcp_nodelay}, | 75 | {"tcp-nodelay", opt_get_tcp_nodelay}, |
75 | {"linger", opt_get_linger}, | 76 | {"linger", opt_get_linger}, |
76 | {"error", opt_get_error}, | 77 | {"error", opt_get_error}, |
@@ -80,6 +81,7 @@ static t_opt optget[] = { | |||
80 | static t_opt optset[] = { | 81 | static t_opt optset[] = { |
81 | {"keepalive", opt_set_keepalive}, | 82 | {"keepalive", opt_set_keepalive}, |
82 | {"reuseaddr", opt_set_reuseaddr}, | 83 | {"reuseaddr", opt_set_reuseaddr}, |
84 | {"reuseport", opt_set_reuseport}, | ||
83 | {"tcp-nodelay", opt_set_tcp_nodelay}, | 85 | {"tcp-nodelay", opt_set_tcp_nodelay}, |
84 | {"ipv6-v6only", opt_set_ip6_v6only}, | 86 | {"ipv6-v6only", opt_set_ip6_v6only}, |
85 | {"linger", opt_set_linger}, | 87 | {"linger", opt_set_linger}, |