Lines Matching +full:html +full:- +full:docs
4 //! it can be given an option-specific type signature.
19 /// - [POSIX `getsockopt`]
20 /// - [POSIX `sys/socket.h`]
21 /// - [Linux `getsockopt`]
22 /// - [Linux `socket`]
23 /// - [Winsock2 `getsockopt`]
24 /// - [Winsock2 `SOL_SOCKET` options]
26 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
27 …[POSIX `sys/socket.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
28 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
29 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
30 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
31 …// [Winsock2 `SOL_SOCKET` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/sol-soc…
34 pub fn get_socket_type<Fd: AsFd>(fd: Fd) -> io::Result<SocketType> { in get_socket_type()
41 /// - [POSIX `setsockopt`]
42 /// - [POSIX `sys/socket.h`]
43 /// - [Linux `setsockopt`]
44 /// - [Linux `socket`]
45 /// - [Winsock2 `setsockopt`]
46 /// - [Winsock2 `SOL_SOCKET` options]
48 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
49 …[POSIX `sys/socket.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
50 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
51 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
52 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
53 …// [Winsock2 `SOL_SOCKET` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/sol-soc…
56 pub fn set_socket_reuseaddr<Fd: AsFd>(fd: Fd, value: bool) -> io::Result<()> { in set_socket_reuseaddr()
63 /// - [POSIX `setsockopt`]
64 /// - [POSIX `sys/socket.h`]
65 /// - [Linux `setsockopt`]
66 /// - [Linux `socket`]
67 /// - [Winsock2 `setsockopt`]
68 /// - [Winsock2 `SOL_SOCKET` options]
70 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
71 …[POSIX `sys/socket.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
72 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
73 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
74 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
75 …// [Winsock2 `SOL_SOCKET` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/sol-soc…
78 pub fn set_socket_broadcast<Fd: AsFd>(fd: Fd, broadcast: bool) -> io::Result<()> { in set_socket_broadcast()
85 /// - [POSIX `getsockopt`]
86 /// - [POSIX `sys/socket.h`]
87 /// - [Linux `getsockopt`]
88 /// - [Linux `socket`]
89 /// - [Winsock2 `getsockopt`]
90 /// - [Winsock2 `SOL_SOCKET` options]
92 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
93 …[POSIX `sys/socket.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
94 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
95 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
96 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
97 …// [Winsock2 `SOL_SOCKET` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/sol-soc…
100 pub fn get_socket_broadcast<Fd: AsFd>(fd: Fd) -> io::Result<bool> { in get_socket_broadcast()
107 /// - [POSIX `setsockopt`]
108 /// - [POSIX `sys/socket.h`]
109 /// - [Linux `setsockopt`]
110 /// - [Linux `socket`]
111 /// - [Winsock2 `setsockopt`]
112 /// - [Winsock2 `SOL_SOCKET` options]
114 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
115 …[POSIX `sys/socket.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
116 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
117 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
118 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
119 …// [Winsock2 `SOL_SOCKET` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/sol-soc…
122 pub fn set_socket_linger<Fd: AsFd>(fd: Fd, linger: Option<Duration>) -> io::Result<()> { in set_socket_linger()
129 /// - [POSIX `getsockopt`]
130 /// - [POSIX `sys/socket.h`]
131 /// - [Linux `getsockopt`]
132 /// - [Linux `socket`]
133 /// - [Winsock2 `getsockopt`]
134 /// - [Winsock2 `SOL_SOCKET` options]
136 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
137 …[POSIX `sys/socket.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
138 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
139 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
140 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
141 …// [Winsock2 `SOL_SOCKET` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/sol-soc…
144 pub fn get_socket_linger<Fd: AsFd>(fd: Fd) -> io::Result<Option<Duration>> { in get_socket_linger()
151 /// - [Linux `setsockopt`]
152 /// - [Linux `socket`]
154 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
155 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
159 pub fn set_socket_passcred<Fd: AsFd>(fd: Fd, passcred: bool) -> io::Result<()> { in set_socket_passcred()
166 /// - [Linux `getsockopt`]
167 /// - [Linux `socket`]
169 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
170 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
174 pub fn get_socket_passcred<Fd: AsFd>(fd: Fd) -> io::Result<bool> { in get_socket_passcred()
182 /// - [POSIX `setsockopt`]
183 /// - [POSIX `sys/socket.h`]
184 /// - [Linux `setsockopt`]
185 /// - [Linux `socket`]
186 /// - [Winsock2 `setsockopt`]
187 /// - [Winsock2 `SOL_SOCKET` options]
189 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
190 …[POSIX `sys/socket.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
191 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
192 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
193 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
194 …// [Winsock2 `SOL_SOCKET` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/sol-soc…
202 ) -> io::Result<()> { in set_socket_timeout()
209 /// - [POSIX `getsockopt`]
210 /// - [POSIX `sys/socket.h`]
211 /// - [Linux `getsockopt`]
212 /// - [Linux `socket`]
213 /// - [Winsock2 `getsockopt`]
214 /// - [Winsock2 `SOL_SOCKET` options]
216 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
217 …[POSIX `sys/socket.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
218 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
219 /// [Linux `socket`]: https://man7.org/linux/man-pages/man7/socket.7.html
220 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
221 …// [Winsock2 `SOL_SOCKET` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/sol-soc…
225 pub fn get_socket_timeout<Fd: AsFd>(fd: Fd, id: Timeout) -> io::Result<Option<Duration>> { in get_socket_timeout()
232 /// - [POSIX `setsockopt`]
233 /// - [POSIX `netinet/in.h`]
234 /// - [Linux `setsockopt`]
235 /// - [Linux `ip`]
236 /// - [Winsock2 `setsockopt`]
237 /// - [Winsock2 `IPPROTO_IP` options]
239 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
240 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
241 /// [Linux `ip`]: https://man7.org/linux/man-pages/man7/ip.7.html
242 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
243 …// [Winsock2 `IPPROTO_IP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto…
246 pub fn set_ip_ttl<Fd: AsFd>(fd: Fd, ttl: u32) -> io::Result<()> { in set_ip_ttl()
253 /// - [POSIX `getsockopt`]
254 /// - [POSIX `netinet/in.h`]
255 /// - [Linux `getsockopt`]
256 /// - [Linux `ip`]
257 /// - [Winsock2 `getsockopt`]
258 /// - [Winsock2 `IPPROTO_IPV6` options]
260 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
261 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
262 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
263 /// [Linux `ip`]: https://man7.org/linux/man-pages/man7/ip.7.html
264 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
265 …// [Winsock2 `IPPROTO_IP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto…
268 pub fn get_ip_ttl<Fd: AsFd>(fd: Fd) -> io::Result<u32> { in get_ip_ttl()
275 /// - [POSIX `setsockopt`]
276 /// - [POSIX `netinet/in.h`]
277 /// - [Linux `setsockopt`]
278 /// - [Linux `ipv6`]
279 /// - [Winsock2 `setsockopt`]
280 /// - [Winsock2 `IPPROTO_IPV6` options]
282 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
283 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
284 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
285 /// [Linux `ipv6`]: https://man7.org/linux/man-pages/man7/ipv6.7.html
286 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
287 …[Winsock2 `IPPROTO_IPV6` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
290 pub fn set_ipv6_v6only<Fd: AsFd>(fd: Fd, only_v6: bool) -> io::Result<()> { in set_ipv6_v6only()
297 /// - [POSIX `getsockopt`]
298 /// - [POSIX `netinet/in.h`]
299 /// - [Linux `getsockopt`]
300 /// - [Linux `ipv6`]
301 /// - [Winsock2 `getsockopt`]
302 /// - [Winsock2 `IPPROTO_IPV6` options]
304 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
305 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
306 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
307 /// [Linux `ipv6`]: https://man7.org/linux/man-pages/man7/ipv6.7.html
308 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
309 …[Winsock2 `IPPROTO_IPV6` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
312 pub fn get_ipv6_v6only<Fd: AsFd>(fd: Fd) -> io::Result<bool> { in get_ipv6_v6only()
319 /// - [POSIX `setsockopt`]
320 /// - [POSIX `netinet/in.h`]
321 /// - [Linux `setsockopt`]
322 /// - [Linux `ip`]
323 /// - [Winsock2 `setsockopt`]
324 /// - [Winsock2 `IPPROTO_IP` options]
326 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
327 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
328 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
329 /// [Linux `ip`]: https://man7.org/linux/man-pages/man7/ip.7.html
330 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
331 …// [Winsock2 `IPPROTO_IP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto…
334 pub fn set_ip_multicast_loop<Fd: AsFd>(fd: Fd, multicast_loop: bool) -> io::Result<()> { in set_ip_multicast_loop()
341 /// - [POSIX `getsockopt`]
342 /// - [POSIX `netinet/in.h`]
343 /// - [Linux `getsockopt`]
344 /// - [Linux `ip`]
345 /// - [Winsock2 `getsockopt`]
346 /// - [Winsock2 `IPPROTO_IP` options]
348 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
349 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
350 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
351 /// [Linux `ip`]: https://man7.org/linux/man-pages/man7/ip.7.html
352 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
353 …// [Winsock2 `IPPROTO_IP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto…
356 pub fn get_ip_multicast_loop<Fd: AsFd>(fd: Fd) -> io::Result<bool> { in get_ip_multicast_loop()
363 /// - [POSIX `setsockopt`]
364 /// - [POSIX `netinet/in.h`]
365 /// - [Linux `setsockopt`]
366 /// - [Linux `ip`]
367 /// - [Winsock2 `setsockopt`]
368 /// - [Winsock2 `IPPROTO_IP` options]
370 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
371 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
372 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
373 /// [Linux `ip`]: https://man7.org/linux/man-pages/man7/ip.7.html
374 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
375 …// [Winsock2 `IPPROTO_IP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto…
378 pub fn set_ip_multicast_ttl<Fd: AsFd>(fd: Fd, multicast_ttl: u32) -> io::Result<()> { in set_ip_multicast_ttl()
385 /// - [POSIX `getsockopt`]
386 /// - [POSIX `netinet/in.h`]
387 /// - [Linux `getsockopt`]
388 /// - [Linux `ip`]
389 /// - [Winsock2 `getsockopt`]
390 /// - [Winsock2 `IPPROTO_IP` options]
392 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
393 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
394 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
395 /// [Linux `ip`]: https://man7.org/linux/man-pages/man7/ip.7.html
396 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
397 …// [Winsock2 `IPPROTO_IP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto…
400 pub fn get_ip_multicast_ttl<Fd: AsFd>(fd: Fd) -> io::Result<u32> { in get_ip_multicast_ttl()
407 /// - [POSIX `setsockopt`]
408 /// - [POSIX `netinet/in.h`]
409 /// - [Linux `setsockopt`]
410 /// - [Linux `ipv6`]
411 /// - [Winsock2 `setsockopt`]
412 /// - [Winsock2 `IPPROTO_IPV6` options]
414 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
415 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
416 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
417 /// [Linux `ipv6`]: https://man7.org/linux/man-pages/man7/ipv6.7.html
418 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
419 …[Winsock2 `IPPROTO_IPV6` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
422 pub fn set_ipv6_multicast_loop<Fd: AsFd>(fd: Fd, multicast_loop: bool) -> io::Result<()> { in set_ipv6_multicast_loop()
429 /// - [POSIX `getsockopt`]
430 /// - [POSIX `netinet/in.h`]
431 /// - [Linux `getsockopt`]
432 /// - [Linux `ipv6`]
433 /// - [Winsock2 `getsockopt`]
434 /// - [Winsock2 `IPPROTO_IPV6` options]
436 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
437 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
438 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
439 /// [Linux `ipv6`]: https://man7.org/linux/man-pages/man7/ipv6.7.html
440 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
441 …[Winsock2 `IPPROTO_IPV6` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
444 pub fn get_ipv6_multicast_loop<Fd: AsFd>(fd: Fd) -> io::Result<bool> { in get_ipv6_multicast_loop()
451 /// - [POSIX `setsockopt`]
452 /// - [POSIX `netinet/in.h`]
453 /// - [Linux `setsockopt`]
454 /// - [Linux `ipv6`]
455 /// - [Winsock2 `setsockopt`]
456 /// - [Winsock2 `IPPROTO_IPV6` options]
458 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
459 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
460 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
461 /// [Linux `ipv6`]: https://man7.org/linux/man-pages/man7/ipv6.7.html
462 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
463 …[Winsock2 `IPPROTO_IPV6` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
466 pub fn set_ipv6_multicast_hops<Fd: AsFd>(fd: Fd, multicast_hops: u32) -> io::Result<()> { in set_ipv6_multicast_hops()
473 /// - [POSIX `getsockopt`]
474 /// - [POSIX `netinet/in.h`]
475 /// - [Linux `getsockopt`]
476 /// - [Linux `ipv6`]
477 /// - [Winsock2 `getsockopt`]
478 /// - [Winsock2 `IPPROTO_IPV6` options]
480 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
481 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
482 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
483 /// [Linux `ipv6`]: https://man7.org/linux/man-pages/man7/ipv6.7.html
484 /// [Winsock2 `getsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
485 …[Winsock2 `IPPROTO_IPV6` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
488 pub fn get_ipv6_multicast_hops<Fd: AsFd>(fd: Fd) -> io::Result<u32> { in get_ipv6_multicast_hops()
495 /// - [POSIX `setsockopt`]
496 /// - [POSIX `netinet/in.h`]
497 /// - [Linux `setsockopt`]
498 /// - [Linux `ip`]
499 /// - [Winsock2 `setsockopt`]
500 /// - [Winsock2 `IPPROTO_IP` options]
502 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
503 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
504 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
505 /// [Linux `ip`]: https://man7.org/linux/man-pages/man7/ip.7.html
506 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
507 …// [Winsock2 `IPPROTO_IP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto…
514 ) -> io::Result<()> { in set_ip_add_membership()
523 /// - [POSIX `setsockopt`]
524 /// - [POSIX `netinet/in.h`]
525 /// - [Linux `setsockopt`]
526 /// - [Linux `ipv6]
527 /// - [Winsock2 `setsockopt`]
528 /// - [Winsock2 `IPPROTO_IPV6` options]
530 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
531 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
532 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
533 /// [Linux `ipv6`]: https://man7.org/linux/man-pages/man7/ipv6.7.html
534 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
535 …[Winsock2 `IPPROTO_IPV6` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
543 ) -> io::Result<()> { in set_ipv6_add_membership()
550 /// - [POSIX `setsockopt`]
551 /// - [POSIX `netinet/in.h`]
552 /// - [Linux `setsockopt`]
553 /// - [Linux `ip`]
554 /// - [Winsock2 `setsockopt`]
555 /// - [Winsock2 `IPPROTO_IP` options]
557 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
558 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
559 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
560 /// [Linux `ip`]: https://man7.org/linux/man-pages/man7/ip.7.html
561 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
562 …// [Winsock2 `IPPROTO_IP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto…
569 ) -> io::Result<()> { in set_ip_drop_membership()
578 /// - [POSIX `setsockopt`]
579 /// - [POSIX `netinet/in.h`]
580 /// - [Linux `setsockopt`]
581 /// - [Linux `ipv6`]
582 /// - [Winsock2 `setsockopt`]
583 /// - [Winsock2 `IPPROTO_IPV6` options]
585 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
586 …[POSIX `netinet/in.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
587 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
588 /// [Linux `ipv6`]: https://man7.org/linux/man-pages/man7/ipv6.7.html
589 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
590 …[Winsock2 `IPPROTO_IPV6` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
598 ) -> io::Result<()> { in set_ipv6_drop_membership()
605 /// - [POSIX `setsockopt`]
606 /// - [POSIX `netinet/tcp.h`]
607 /// - [Linux `setsockopt`]
608 /// - [Linux `tcp`]
609 /// - [Winsock2 `setsockopt`]
610 /// - [Winsock2 `IPPROTO_TCP` options]
612 /// [POSIX `setsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html
613 …OSIX `netinet/tcp.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_tcp.h.html
614 /// [Linux `setsockopt`]: https://man7.org/linux/man-pages/man2/setsockopt.2.html
615 /// [Linux `tcp`]: https://man7.org/linux/man-pages/man7/tcp.7.html
616 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
617 … [Winsock2 `IPPROTO_TCP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
620 pub fn set_tcp_nodelay<Fd: AsFd>(fd: Fd, nodelay: bool) -> io::Result<()> { in set_tcp_nodelay()
627 /// - [POSIX `getsockopt`]
628 /// - [POSIX `netinet/tcp.h`]
629 /// - [Linux `getsockopt`]
630 /// - [Linux `tcp`]
631 /// - [Winsock2 `getsockopt`]
632 /// - [Winsock2 `IPPROTO_TCP` options]
634 /// [POSIX `getsockopt`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html
635 …OSIX `netinet/tcp.h`]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_tcp.h.html
636 /// [Linux `getsockopt`]: https://man7.org/linux/man-pages/man2/getsockopt.2.html
637 /// [Linux `tcp`]: https://man7.org/linux/man-pages/man7/tcp.7.html
638 /// [Winsock2 `setsockopt`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock…
639 … [Winsock2 `IPPROTO_TCP` options]: https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-…
642 pub fn get_tcp_nodelay<Fd: AsFd>(fd: Fd) -> io::Result<bool> { in get_tcp_nodelay()