diff options
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index d3d32c5..268db7c 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -458,8 +458,10 @@ struct tcpstat { u_long tcps_ecn_rcwnd; /* # times ECN reduced the cwnd */ }; +#ifdef _KERNEL #define TCPSTAT_ADD(name, val) V_tcpstat.name += (val) #define TCPSTAT_INC(name) TCPSTAT_ADD(name, 1) +#endif /* * TCB structure exported to user-land via sysctl(3). |