ddebc973c5
Based on Arnaldo's earlier patch, this patch integrates the standardised CCID congestion control plugins (CCID-2 and CCID-3) of DCCP with dccp.ko: * enables a faster connection path by eliminating the need to always go through the CCID registration lock; * updates the implementation to use only a single array whose size equals the number of configured CCIDs instead of the maximum (256); * since the CCIDs are now fixed array elements, synchronization is no longer needed, simplifying use and implementation. CCID-2 is suggested as minimum for a basic DCCP implementation (RFC 4340, 10); CCID-3 is a standards-track CCID supported by RFC 4342 and RFC 5348. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
27 lines
686 B
Makefile
27 lines
686 B
Makefile
obj-$(CONFIG_IP_DCCP) += dccp.o dccp_ipv4.o
|
|
|
|
dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o
|
|
|
|
#
|
|
# CCID algorithms to be used by dccp.ko
|
|
#
|
|
# CCID-2 is default (RFC 4340, p. 77) and has Ack Vectors as dependency
|
|
dccp-y += ccids/ccid2.o ackvec.o
|
|
dccp-$(CONFIG_IP_DCCP_CCID3) += ccids/ccid3.o
|
|
|
|
dccp_ipv4-y := ipv4.o
|
|
|
|
# build dccp_ipv6 as module whenever either IPv6 or DCCP is a module
|
|
obj-$(subst y,$(CONFIG_IP_DCCP),$(CONFIG_IPV6)) += dccp_ipv6.o
|
|
dccp_ipv6-y := ipv6.o
|
|
|
|
obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o
|
|
obj-$(CONFIG_NET_DCCPPROBE) += dccp_probe.o
|
|
|
|
dccp-$(CONFIG_SYSCTL) += sysctl.o
|
|
|
|
dccp_diag-y := diag.o
|
|
dccp_probe-y := probe.o
|
|
|
|
obj-y += ccids/
|