diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-12 11:34:39 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-12 11:34:39 +0000 |
commit | b290889f0265e1278e8a868aa82a65bcc9099b0f (patch) | |
tree | 2fc8dcc3b7f525f61817417e32c2827b57e17b8a /include | |
parent | 51742f4bb0c57a4d5063ece9437a2f34a42e52c8 (diff) | |
download | busybox-w32-b290889f0265e1278e8a868aa82a65bcc9099b0f.tar.gz busybox-w32-b290889f0265e1278e8a868aa82a65bcc9099b0f.tar.bz2 busybox-w32-b290889f0265e1278e8a868aa82a65bcc9099b0f.zip |
- add xsendto and use where appropriate; shrink iplink; sanitize libiproute a bit.
-916 byte
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
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); | |||
298 | void xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); | 298 | void xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); |
299 | void xlisten(int s, int backlog); | 299 | void xlisten(int s, int backlog); |
300 | void xconnect(int s, const struct sockaddr *s_addr, socklen_t addrlen); | 300 | void xconnect(int s, const struct sockaddr *s_addr, socklen_t addrlen); |
301 | ssize_t xsendto(int s, const void *buf, size_t len, const struct sockaddr *to, | ||
302 | socklen_t tolen); | ||
301 | int setsockopt_reuseaddr(int fd); | 303 | int setsockopt_reuseaddr(int fd); |
302 | int setsockopt_broadcast(int fd); | 304 | int setsockopt_broadcast(int fd); |
303 | /* NB: returns port in host byte order */ | 305 | /* NB: returns port in host byte order */ |