mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +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
1 changed files with 1 additions and 14 deletions
|
@ -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 a new issue