Move ip6_sprintf() declaration from in6_var.h to in6.h. This is a simple
function that works with in6_addr and it is not related to the INET6 stack implementation. Sponsored by: Nginx, Inc.
This commit is contained in:
parent
ab91c9a743
commit
20778ab5b4
@ -651,6 +651,7 @@ int in6_cksum_partial(struct mbuf *, u_int8_t, u_int32_t, u_int32_t,
|
||||
int in6_localaddr(struct in6_addr *);
|
||||
int in6_localip(struct in6_addr *);
|
||||
int in6_addrscope(const struct in6_addr *);
|
||||
char *ip6_sprintf(char *, const struct in6_addr *);
|
||||
struct in6_ifaddr *in6_ifawithifp(struct ifnet *, struct in6_addr *);
|
||||
extern void in6_if_up(struct ifnet *);
|
||||
struct sockaddr;
|
||||
|
@ -811,7 +811,6 @@ struct in6_ifaddr *in6ifa_ifpforlinklocal(struct ifnet *, int);
|
||||
struct in6_ifaddr *in6ifa_ifpwithaddr(struct ifnet *, struct in6_addr *);
|
||||
struct in6_ifaddr *in6ifa_ifwithaddr(const struct in6_addr *, uint32_t);
|
||||
struct in6_ifaddr *in6ifa_llaonifp(struct ifnet *);
|
||||
char *ip6_sprintf(char *, const struct in6_addr *);
|
||||
int in6_addr2zoneid(struct ifnet *, struct in6_addr *, u_int32_t *);
|
||||
int in6_matchlen(struct in6_addr *, struct in6_addr *);
|
||||
int in6_are_prefix_equal(struct in6_addr *, struct in6_addr *, int);
|
||||
|
Loading…
Reference in New Issue
Block a user