aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index e2bedaf41..2c34859a2 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -636,6 +636,7 @@ void setsockopt_reuseaddr(int fd) FAST_FUNC; /* On Linux this never fails. */
636int setsockopt_keepalive(int fd) FAST_FUNC; 636int setsockopt_keepalive(int fd) FAST_FUNC;
637int setsockopt_broadcast(int fd) FAST_FUNC; 637int setsockopt_broadcast(int fd) FAST_FUNC;
638int setsockopt_bindtodevice(int fd, const char *iface) FAST_FUNC; 638int setsockopt_bindtodevice(int fd, const char *iface) FAST_FUNC;
639int bb_getsockname(int sockfd, void *addr, socklen_t addrlen) FAST_FUNC;
639/* NB: returns port in host byte order */ 640/* NB: returns port in host byte order */
640unsigned bb_lookup_port(const char *port, const char *protocol, unsigned default_port) FAST_FUNC; 641unsigned bb_lookup_port(const char *port, const char *protocol, unsigned default_port) FAST_FUNC;
641typedef struct len_and_sockaddr { 642typedef struct len_and_sockaddr {