mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
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:
committed by
Sebastian Huber
parent
94c33ba992
commit
388dd97e39
@@ -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 */
|
||||
|
||||
@@ -167,6 +167,7 @@ int in6_cksum_partial(struct mbuf *, u_int8_t, u_int32_t, u_int32_t,
|
||||
u_int32_t);
|
||||
int in6_localaddr(struct in6_addr *);
|
||||
int in6_localip(struct in6_addr *);
|
||||
bool in6_localip_fib(struct in6_addr *, uint16_t);
|
||||
int in6_ifhasaddr(struct ifnet *, struct in6_addr *);
|
||||
int in6_addrscope(const struct in6_addr *);
|
||||
char *ip6_sprintf(char *, const struct in6_addr *);
|
||||
|
||||
Reference in New Issue
Block a user