Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/tcp_stacks/rack_bbr_common.h
Show All 21 Lines | |||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* __FBSDID("$FreeBSD$"); | * __FBSDID("$FreeBSD$"); | ||||
*/ | */ | ||||
/* XXXLAS: Couple STATS to NETFLIX_STATS until stats(3) is fully upstreamed. */ | |||||
#ifndef NETFLIX_STATS | |||||
#undef STATS | |||||
#endif | |||||
/* Common defines and such used by both RACK and BBR */ | /* Common defines and such used by both RACK and BBR */ | ||||
/* Special values for mss accounting array */ | /* Special values for mss accounting array */ | ||||
#define TCP_MSS_ACCT_JUSTRET 0 | #define TCP_MSS_ACCT_JUSTRET 0 | ||||
#define TCP_MSS_ACCT_SNDACK 1 | #define TCP_MSS_ACCT_SNDACK 1 | ||||
#define TCP_MSS_ACCT_PERSIST 2 | #define TCP_MSS_ACCT_PERSIST 2 | ||||
#define TCP_MSS_ACCT_ATIMER 60 | #define TCP_MSS_ACCT_ATIMER 60 | ||||
#define TCP_MSS_ACCT_INPACE 61 | #define TCP_MSS_ACCT_INPACE 61 | ||||
#define TCP_MSS_ACCT_LATE 62 | #define TCP_MSS_ACCT_LATE 62 | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |