e55d912f5b
[root@qemu ~]# for a in /proc/sys/net/dccp/default/* ; do echo $a ; cat $a ; done /proc/sys/net/dccp/default/ack_ratio 2 /proc/sys/net/dccp/default/rx_ccid 3 /proc/sys/net/dccp/default/send_ackvec 1 /proc/sys/net/dccp/default/send_ndp 1 /proc/sys/net/dccp/default/seq_window 100 /proc/sys/net/dccp/default/tx_ccid 3 [root@qemu ~]# So if wanting to test ccid3 as the tx CCID one can just do: [root@qemu ~]# echo 3 > /proc/sys/net/dccp/default/tx_ccid [root@qemu ~]# echo 2 > /proc/sys/net/dccp/default/rx_ccid [root@qemu ~]# cat /proc/sys/net/dccp/default/[tr]x_ccid 2 3 [root@qemu ~]# Of course we also need the setsockopt for each app to tell its preferences, but for testing or defining something other than CCID2 as the default for apps that don't explicitely set their preference the sysctl interface is handy. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
345 B
Makefile
18 lines
345 B
Makefile
obj-$(CONFIG_IPV6) += dccp_ipv6.o
|
|
|
|
dccp_ipv6-y := ipv6.o
|
|
|
|
obj-$(CONFIG_IP_DCCP) += dccp.o
|
|
|
|
dccp-y := ccid.o feat.o input.o ipv4.o minisocks.o options.o output.o proto.o \
|
|
timer.o
|
|
|
|
dccp-$(CONFIG_IP_DCCP_ACKVEC) += ackvec.o
|
|
|
|
obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o
|
|
|
|
dccp-$(CONFIG_SYSCTL) += sysctl.o
|
|
|
|
dccp_diag-y := diag.o
|
|
|
|
obj-y += ccids/
|