summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index b0f6eaee2..9e0399eee 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -437,6 +437,7 @@ ssize_t xsendto(int s, const void *buf, size_t len, const struct sockaddr *to,
437 * Turn it on before you call bind(). */ 437 * Turn it on before you call bind(). */
438void setsockopt_reuseaddr(int fd) FAST_FUNC; /* On Linux this never fails. */ 438void setsockopt_reuseaddr(int fd) FAST_FUNC; /* On Linux this never fails. */
439int setsockopt_broadcast(int fd) FAST_FUNC; 439int setsockopt_broadcast(int fd) FAST_FUNC;
440int setsockopt_bindtodevice(int fd, const char *iface) FAST_FUNC;
440/* NB: returns port in host byte order */ 441/* NB: returns port in host byte order */
441unsigned bb_lookup_port(const char *port, const char *protocol, unsigned default_port) FAST_FUNC; 442unsigned bb_lookup_port(const char *port, const char *protocol, unsigned default_port) FAST_FUNC;
442typedef struct len_and_sockaddr { 443typedef struct len_and_sockaddr {