Last change
on this file since 2838 was 2725, checked in by Bruno Cornec, 13 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
File size:
929 bytes
|
Rev | Line | |
---|
[1765] | 1 | /* vi: set sw=4 ts=4: */
|
---|
[821] | 2 | /*
|
---|
| 3 | * stolen from net-tools-1.59 and stripped down for busybox by
|
---|
| 4 | * Erik Andersen <andersen@codepoet.org>
|
---|
| 5 | *
|
---|
| 6 | * Heavily modified by Manuel Novoa III Mar 12, 2001
|
---|
| 7 | *
|
---|
| 8 | */
|
---|
[2725] | 9 | #ifndef INET_COMMON_H
|
---|
| 10 | #define INET_COMMON_H 1
|
---|
[821] | 11 |
|
---|
[2725] | 12 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
|
---|
[821] | 13 |
|
---|
| 14 | /* hostfirst!=0 If we expect this to be a hostname,
|
---|
| 15 | try hostname database first
|
---|
| 16 | */
|
---|
[2725] | 17 | int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst) FAST_FUNC;
|
---|
[821] | 18 |
|
---|
[1765] | 19 | /* numeric: & 0x8000: "default" instead of "*",
|
---|
[821] | 20 | * & 0x4000: host instead of net,
|
---|
| 21 | * & 0x0fff: don't resolve
|
---|
| 22 | */
|
---|
| 23 |
|
---|
[2725] | 24 | int INET6_resolve(const char *name, struct sockaddr_in6 *sin6) FAST_FUNC;
|
---|
[1765] | 25 |
|
---|
| 26 | /* These return malloced string */
|
---|
[2725] | 27 | char *INET_rresolve(struct sockaddr_in *s_in, int numeric, uint32_t netmask) FAST_FUNC;
|
---|
| 28 | char *INET6_rresolve(struct sockaddr_in6 *sin6, int numeric) FAST_FUNC;
|
---|
| 29 |
|
---|
| 30 | POP_SAVED_FUNCTION_VISIBILITY
|
---|
| 31 |
|
---|
| 32 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.