aboutsummaryrefslogtreecommitdiff
path: root/include/inet_common.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-21 20:34:21 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-21 20:34:21 +0000
commit7ca3921e5e8aa64533d4d7a678046676ae6574ec (patch)
tree9736975246e991e626e025ab1c98d9f5536e9007 /include/inet_common.h
parent5096246ffb22b46b7d9e9debf035112a11d339b3 (diff)
downloadbusybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.gz
busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.bz2
busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.zip
bb_INET_default[] is really just a const "default",
nothing INET-specific
Diffstat (limited to 'include/inet_common.h')
-rw-r--r--include/inet_common.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/inet_common.h b/include/inet_common.h
index 680d441d2..1c16f6ca2 100644
--- a/include/inet_common.h
+++ b/include/inet_common.h
@@ -14,16 +14,12 @@
14#include <sys/socket.h> 14#include <sys/socket.h>
15#include "platform.h" 15#include "platform.h"
16 16
17
18extern const char bb_INET_default[]; /* = "default" */
19
20/* hostfirst!=0 If we expect this to be a hostname, 17/* hostfirst!=0 If we expect this to be a hostname,
21 try hostname database first 18 try hostname database first
22 */ 19 */
23extern int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst); 20extern int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst);
24 21
25 22/* numeric: & 0x8000: "default" instead of "*",
26/* numeric: & 0x8000: default instead of *,
27 * & 0x4000: host instead of net, 23 * & 0x4000: host instead of net,
28 * & 0x0fff: don't resolve 24 * & 0x0fff: don't resolve
29 */ 25 */