
The port forces the use of sysctl(7), as obtaining information through KVM is not and will never be viable. The sysctl mode of netstat(1) is currently somewhat limited and buggy, though. We fix a few minimal issues, but more improvements will have to come from NetBSD reimports. Some of netstat(1)'s views are currently not supported by the operating system. Later improvements on this point will not require changes to the imported code, though. Change-Id: If74a6811f0fc81bd1ecc31010a28379b14b2a0eb
10 lines
222 B
C
10 lines
222 B
C
#ifndef _NETSTAT_VTW_H
|
|
#define _NETSTAT_VTW_H
|
|
|
|
void show_vtw_stats(void);
|
|
void show_vtw_v4(void (*)(const vtw_t *));
|
|
void show_vtw_v6(void (*)(const vtw_t *));
|
|
void timebase(struct timeval *);
|
|
|
|
#endif /* _NETSTAT_VTW_H */
|