mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Now counter_u64_t is known to userland, thus remove hack from r253086.
Sponsored by: Netflix Sponsored by: Nginx, Inc.
This commit is contained in:
parent
511b5fa590
commit
0218539652
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256515
@ -65,6 +65,7 @@
|
||||
#define _NETINET6_IN6_VAR_H_
|
||||
|
||||
#include <sys/tree.h>
|
||||
#include <sys/counter.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <sys/fnv_hash.h>
|
||||
@ -98,9 +99,6 @@ struct scope6_id;
|
||||
struct lltable;
|
||||
struct mld_ifinfo;
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <sys/counter.h>
|
||||
|
||||
struct in6_ifextra {
|
||||
counter_u64_t *in6_ifstat;
|
||||
counter_u64_t *icmp6_ifstat;
|
||||
@ -109,17 +107,6 @@ struct in6_ifextra {
|
||||
struct lltable *lltable;
|
||||
struct mld_ifinfo *mld_ifinfo;
|
||||
};
|
||||
#else
|
||||
|
||||
struct in6_ifextra {
|
||||
void *in6_ifstat;
|
||||
void *icmp6_ifstat;
|
||||
struct nd_ifinfo *nd_ifinfo;
|
||||
struct scope6_id *scope6_id;
|
||||
struct lltable *lltable;
|
||||
struct mld_ifinfo *mld_ifinfo;
|
||||
};
|
||||
#endif /* !_KERNEL */
|
||||
|
||||
#define LLTABLE6(ifp) (((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->lltable)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user