# SPDX-License-Identifier: GPL-2.0 obj-$([31mCONFIG_IP_DCCP[0m) += dccp.o dccp_ipv4.o dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \ qpolicy.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-$([31mCONFIG_IP_DCCP_CCID3[0m) += ccids/ccid3.o dccp-$([31mCONFIG_IP_DCCP_TFRC_LIB[0m) += ccids/lib/tfrc.o \ ccids/lib/tfrc_equation.o \ ccids/lib/packet_history.o \ ccids/lib/loss_interval.o dccp_ipv4-y := ipv4.o # build dccp_ipv6 as module whenever either IPv6 or DCCP is a module obj-$(subst y,$([31mCONFIG_IP_DCCP[0m),$([31mCONFIG_IPV6[0m)) += dccp_ipv6.o dccp_ipv6-y := ipv6.o obj-$([31mCONFIG_INET_DCCP_DIAG[0m) += dccp_diag.o dccp-$([31mCONFIG_SYSCTL[0m) += sysctl.o dccp_diag-y := diag.o # build with local directory for trace.h CFLAGS_proto.o := -I$(src) |