aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-12 11:34:39 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-12 11:34:39 +0000
commitf076ed27db62b3dd87789380d366a983a4e12290 (patch)
tree2fc8dcc3b7f525f61817417e32c2827b57e17b8a /include
parente91ac05530803390f7aa5ca646d90ae26c48aa52 (diff)
downloadbusybox-w32-f076ed27db62b3dd87789380d366a983a4e12290.tar.gz
busybox-w32-f076ed27db62b3dd87789380d366a983a4e12290.tar.bz2
busybox-w32-f076ed27db62b3dd87789380d366a983a4e12290.zip
- add xsendto and use where appropriate; shrink iplink; sanitize libiproute a bit.
-916 byte git-svn-id: svn://busybox.net/trunk/busybox@18413 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index e8f1cf653..29ee8daae 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -298,6 +298,8 @@ int xsocket(int domain, int type, int protocol);
298void xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); 298void xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen);
299void xlisten(int s, int backlog); 299void xlisten(int s, int backlog);
300void xconnect(int s, const struct sockaddr *s_addr, socklen_t addrlen); 300void xconnect(int s, const struct sockaddr *s_addr, socklen_t addrlen);
301ssize_t xsendto(int s, const void *buf, size_t len, const struct sockaddr *to,
302 socklen_t tolen);
301int setsockopt_reuseaddr(int fd); 303int setsockopt_reuseaddr(int fd);
302int setsockopt_broadcast(int fd); 304int setsockopt_broadcast(int fd);
303/* NB: returns port in host byte order */ 305/* NB: returns port in host byte order */