mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-20 15:43:16 +00:00
Put TCPSTAT_ADD() and TCPSTAT_INC() behind _KERNEL.
MFC after: 3 days
This commit is contained in:
parent
2983091e25
commit
de231a063a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190978
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user