diff options
Diffstat (limited to 'src/tcp.c')
-rw-r--r-- | src/tcp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -79,6 +79,8 @@ static t_opt optget[] = { | |||
79 | {"tcp-nodelay", opt_get_tcp_nodelay}, | 79 | {"tcp-nodelay", opt_get_tcp_nodelay}, |
80 | {"linger", opt_get_linger}, | 80 | {"linger", opt_get_linger}, |
81 | {"error", opt_get_error}, | 81 | {"error", opt_get_error}, |
82 | {"recv-buffer-size", opt_get_recv_buf_size}, | ||
83 | {"send-buffer-size", opt_get_send_buf_size}, | ||
82 | {NULL, NULL} | 84 | {NULL, NULL} |
83 | }; | 85 | }; |
84 | 86 | ||
@@ -89,6 +91,8 @@ static t_opt optset[] = { | |||
89 | {"tcp-nodelay", opt_set_tcp_nodelay}, | 91 | {"tcp-nodelay", opt_set_tcp_nodelay}, |
90 | {"ipv6-v6only", opt_set_ip6_v6only}, | 92 | {"ipv6-v6only", opt_set_ip6_v6only}, |
91 | {"linger", opt_set_linger}, | 93 | {"linger", opt_set_linger}, |
94 | {"recv-buffer-size", opt_set_recv_buf_size}, | ||
95 | {"send-buffer-size", opt_set_send_buf_size}, | ||
92 | {NULL, NULL} | 96 | {NULL, NULL} |
93 | }; | 97 | }; |
94 | 98 | ||