aboutsummaryrefslogtreecommitdiff
path: root/services/listen_dnsport.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/listen_dnsport.h')
-rw-r--r--services/listen_dnsport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/listen_dnsport.h b/services/listen_dnsport.h
index 676f0c638ca4..3a46e41b8de6 100644
--- a/services/listen_dnsport.h
+++ b/services/listen_dnsport.h
@@ -204,10 +204,11 @@ int create_udp_sock(int family, int socktype, struct sockaddr* addr,
* @param reuseport: if nonNULL and true, try to set SO_REUSEPORT on
* listening UDP port. Set to false on return if it failed to do so.
* @param transparent: set IP_TRANSPARENT socket option.
+ * @param mss: maximum segment size of the socket. if zero, leaves the default.
* @return: the socket. -1 on error.
*/
int create_tcp_accept_sock(struct addrinfo *addr, int v6only, int* noproto,
- int* reuseport, int transparent);
+ int* reuseport, int transparent, int mss);
/**
* Create and bind local listening socket