mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Add helper function to enable DF (don't fragment) flag on UDP sockets
This commits add isc__nm_socket_dontfrag() helper functions.
This commit is contained in:
@@ -850,3 +850,9 @@ isc__nm_socket_incoming_cpu(uv_os_fd_t fd);
|
||||
/*%<
|
||||
* Set the SO_INCOMING_CPU socket option on the fd if available
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
isc__nm_socket_dontfrag(uv_os_fd_t fd, sa_family_t sa_family);
|
||||
/*%<
|
||||
* Set the SO_IP_DONTFRAG (or equivalent) socket option of the fd if available
|
||||
*/
|
||||
|
Reference in New Issue
Block a user