diff options
author | Diego Nehab <diego.nehab@gmail.com> | 2019-02-24 17:57:23 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-24 17:57:23 -0300 |
commit | a9c75cb099e8db00d17a2314df2dca138e444314 (patch) | |
tree | db4d9603d5f8e2c6987a6da0bb48235e1e9ab5f1 /src/udp.c | |
parent | 699c36c0193c4c9fb4ae8d90c032280f6bacdaf3 (diff) | |
parent | 97bfe1e0437e5f31d47e1fa3bd2e8784a862482d (diff) | |
download | luasocket-a9c75cb099e8db00d17a2314df2dca138e444314.tar.gz luasocket-a9c75cb099e8db00d17a2314df2dca138e444314.tar.bz2 luasocket-a9c75cb099e8db00d17a2314df2dca138e444314.zip |
Merge pull request #244 from leyyer/options
add options:
Diffstat (limited to 'src/udp.c')
-rw-r--r-- | src/udp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -88,6 +88,8 @@ static t_opt optset[] = { | |||
88 | {"ipv6-add-membership", opt_set_ip6_add_membership}, | 88 | {"ipv6-add-membership", opt_set_ip6_add_membership}, |
89 | {"ipv6-drop-membership", opt_set_ip6_drop_membersip}, | 89 | {"ipv6-drop-membership", opt_set_ip6_drop_membersip}, |
90 | {"ipv6-v6only", opt_set_ip6_v6only}, | 90 | {"ipv6-v6only", opt_set_ip6_v6only}, |
91 | {"recv-buffer-size", opt_set_recv_buf_size}, | ||
92 | {"send-buffer-size", opt_set_send_buf_size}, | ||
91 | {NULL, NULL} | 93 | {NULL, NULL} |
92 | }; | 94 | }; |
93 | 95 | ||
@@ -104,6 +106,8 @@ static t_opt optget[] = { | |||
104 | {"ipv6-multicast-hops", opt_get_ip6_unicast_hops}, | 106 | {"ipv6-multicast-hops", opt_get_ip6_unicast_hops}, |
105 | {"ipv6-multicast-loop", opt_get_ip6_multicast_loop}, | 107 | {"ipv6-multicast-loop", opt_get_ip6_multicast_loop}, |
106 | {"ipv6-v6only", opt_get_ip6_v6only}, | 108 | {"ipv6-v6only", opt_get_ip6_v6only}, |
109 | {"recv-buffer-size", opt_get_recv_buf_size}, | ||
110 | {"send-buffer-size", opt_get_send_buf_size}, | ||
107 | {NULL, NULL} | 111 | {NULL, NULL} |
108 | }; | 112 | }; |
109 | 113 | ||