bd79708dbf
to add actions that run when a TCP frame is sent or received on a TCP session in the ESTABLISHED state. In the base tree, this functionality is only used for the h_ertt module, which is used by the cc_cdg, cc_chd, cc_hd, and cc_vegas congestion control modules. Presently, we incur overhead to check for hooks each time a TCP frame is sent or received on an ESTABLISHED TCP session. This change adds a new compile-time option (TCP_HHOOK) to determine whether to include the hhook(9) framework for TCP. To retain backwards compatibility, I added the TCP_HHOOK option to every configuration file that already defined "options INET". (Therefore, this patch introduces no functional change. In order to see a functional difference, you need to compile a custom kernel without the TCP_HHOOK option.) This change will allow users to easily exclude this functionality from their kernel, should they wish to do so. Note that any users who use a custom kernel configuration and use one of the congestion control modules listed above will need to add the TCP_HHOOK option to their kernel configuration. Reviewed by: rrs, lstewart, hiren (previous version), sjg (makefiles only) Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D8185
56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
# $FreeBSD$
|
|
|
|
cpu CPU_MIPS4KC
|
|
ident RB532
|
|
|
|
# Don't build any modules yet.
|
|
makeoptions MODULES_OVERRIDE=""
|
|
|
|
include "../idt/std.idt"
|
|
hints "IDT.hints" #Default places to look for devices.
|
|
|
|
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
|
|
|
options DDB
|
|
options KDB
|
|
|
|
options SCHED_4BSD #4BSD scheduler
|
|
options INET #InterNETworking
|
|
options TCP_HHOOK # hhook(9) framework for TCP
|
|
options NFSCL #Network Filesystem Client
|
|
options NFS_ROOT #NFS usable as /, requires NFSCL
|
|
options PSEUDOFS #Pseudo-filesystem framework
|
|
|
|
options BOOTP
|
|
options BOOTP_NFSROOT
|
|
options BOOTP_NFSV3
|
|
options BOOTP_WIRED_TO=kr0
|
|
options BOOTP_COMPAT
|
|
|
|
# Debugging for use in -current
|
|
#options DEADLKRES #Enable the deadlock resolver
|
|
options INVARIANTS #Enable calls of extra sanity checking
|
|
options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
|
|
|
|
device loop
|
|
device pci
|
|
device ether
|
|
device miibus
|
|
device vr
|
|
device kr
|
|
device uart
|
|
device md
|
|
|
|
# Wireless NIC cards
|
|
device wlan # 802.11 support
|
|
device wlan_wep # 802.11 WEP support
|
|
device wlan_tkip # 802.11 TKIP support
|
|
device ath # Atheros NIC's
|
|
device ath_pci # Atheros pci/cardbus glue
|
|
device ath_hal # pci/cardbus chip support
|
|
options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
|
|
device ath_rate_sample # SampleRate tx rate control for ath
|
|
options ATH_DEBUG
|
|
|
|
device bpf
|