Add in_localip_fib(), in6_localip_fib().

Check if given address/FIB exists locally.

Reviewed by:		melifaro
Differential revision:	https://reviews.freebsd.org/D32913
This commit is contained in:
Gleb Smirnoff
2021-11-12 08:59:42 -08:00
committed by Sebastian Huber
parent 94c33ba992
commit 388dd97e39
2 changed files with 2 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ bool in_localip(struct in_addr);
#else
int in_localip(struct in_addr);
#endif
bool in_localip_fib(struct in_addr, uint16_t);
int in_ifhasaddr(struct ifnet *, struct in_addr);
struct in_ifaddr *in_findlocal(uint32_t, bool);
int inet_aton(const char *, struct in_addr *); /* in libkern */