diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2009-04-12 21:28:35 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2009-04-12 21:28:35 +0000 |
| commit | de231a063a5de1b2e5797060a4658fb0b02543df (patch) | |
| tree | 35d65244575c98974af52810da6153780138e0d6 | |
| parent | 2983091e25f7efe6d4f02ff4a6e3953c3d481848 (diff) | |
Notes
| -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 d3d32c582a64..268db7c2a159 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). |
