nd6: make nd6_alloc() file static
nd6_alloc() is a function used only locally. Make it static and no longer export it. Keeps the KPI smaller. Sponsored by: Netflix
This commit is contained in:
parent
ad675b3279
commit
d64df9a2b2
@ -1190,7 +1190,7 @@ nd6_lookup(const struct in6_addr *addr6, int flags, struct ifnet *ifp)
|
||||
return (ln);
|
||||
}
|
||||
|
||||
struct llentry *
|
||||
static struct llentry *
|
||||
nd6_alloc(const struct in6_addr *addr6, int flags, struct ifnet *ifp)
|
||||
{
|
||||
struct sockaddr_in6 sin6;
|
||||
|
@ -438,7 +438,6 @@ void nd6_option_init(void *, int, union nd_opts *);
|
||||
struct nd_opt_hdr *nd6_option(union nd_opts *);
|
||||
int nd6_options(union nd_opts *);
|
||||
struct llentry *nd6_lookup(const struct in6_addr *, int, struct ifnet *);
|
||||
struct llentry *nd6_alloc(const struct in6_addr *, int, struct ifnet *);
|
||||
void nd6_setmtu(struct ifnet *);
|
||||
void nd6_llinfo_setstate(struct llentry *lle, int newstate);
|
||||
void nd6_timer(void *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user