diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-09 17:32:16 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-09 17:32:16 +0000 |
commit | 9ca26d38c513c918cf88db8fef057b7ae5c133f0 (patch) | |
tree | 59a8c81de0d3631aca6303adc506363e2807f270 /include/libbb.h | |
parent | d244c5eaf80677bc785ada68d4bb805cdf2d4505 (diff) | |
download | busybox-w32-9ca26d38c513c918cf88db8fef057b7ae5c133f0.tar.gz busybox-w32-9ca26d38c513c918cf88db8fef057b7ae5c133f0.tar.bz2 busybox-w32-9ca26d38c513c918cf88db8fef057b7ae5c133f0.zip |
ping: support -I addr in family neutral manner; reuse a bit of common code
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index bb4a68741..218a1935c 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -321,6 +321,7 @@ int xconnect_stream(const len_and_sockaddr *lsa); | |||
321 | len_and_sockaddr* host2sockaddr(const char *host, int port); | 321 | len_and_sockaddr* host2sockaddr(const char *host, int port); |
322 | /* Version which dies on error */ | 322 | /* Version which dies on error */ |
323 | len_and_sockaddr* xhost2sockaddr(const char *host, int port); | 323 | len_and_sockaddr* xhost2sockaddr(const char *host, int port); |
324 | len_and_sockaddr* xdotted2sockaddr(const char *host, int port); | ||
324 | #if ENABLE_FEATURE_IPV6 | 325 | #if ENABLE_FEATURE_IPV6 |
325 | /* Same, useful if you want to force family (e.g. IPv6) */ | 326 | /* Same, useful if you want to force family (e.g. IPv6) */ |
326 | len_and_sockaddr* host_and_af2sockaddr(const char *host, int port, sa_family_t af); | 327 | len_and_sockaddr* host_and_af2sockaddr(const char *host, int port, sa_family_t af); |