diff options
author | andre <andre@FreeBSD.org> | 2004-08-11 11:49:48 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2004-08-11 11:49:48 +0000 |
commit | a93503bce5774a1d50bc8d2659fa612fd093c64a (patch) | |
tree | 9c84cf3125bea1ca049825894eb718166b254d27 /sys/netinet/in.h | |
parent | 957506e985495914d7245b3e8a1b3b77ef63e200 (diff) | |
download | FreeBSD-src-a93503bce5774a1d50bc8d2659fa612fd093c64a.zip FreeBSD-src-a93503bce5774a1d50bc8d2659fa612fd093c64a.tar.gz |
Add the function in_localip() which returns 1 if an internet address is for
the local host and configured on one of its interfaces.
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 5b65908..41b2c6c 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -560,6 +560,7 @@ struct ifnet; struct mbuf; /* forward declarations for Standard C */ int in_broadcast(struct in_addr, struct ifnet *); int in_canforward(struct in_addr); int in_localaddr(struct in_addr); +int in_localip(struct in_addr); char *inet_ntoa(struct in_addr); /* in libkern */ char *inet_ntoa_r(struct in_addr ina, char *buf); /* in libkern */ |