kernel-ark/net/dccp
Arnaldo Carvalho de Melo 91f0ebf7b6 [DCCP] CCID: Improve CCID infrastructure
1. No need for ->ccid_init nor ->ccid_exit, this is what module_{init,exit}
   does and anynways neither ccid2 nor ccid3 were using it.

2. Rename struct ccid to struct ccid_operations and introduce struct ccid
   with a pointer to ccid_operations and rigth after it the rx or tx
   private state.

3. Remove the pointer to the state of the half connections from struct
   dccp_sock, now its derived thru ccid_priv() from the ccid pointer.

Now we also can implement the setsockopt for changing the CCID easily as
no ccid init routines can affect struct dccp_sock in any way that prevents
other CCIDs from working if a CCID switch operation is asked by apps.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 19:21:44 -08:00
..
ccids [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
ackvec.c [DCCP] ackvec: Delete all the ack vector records in dccp_ackvec_free 2006-03-20 17:20:46 -08:00
ackvec.h [DCCP] ackvec: Introduce ack vector records 2006-03-20 17:19:55 -08:00
ccid.c [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
ccid.h [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
dccp.h [DCCP]: Prepare the AF agnostic core for the introduction of DCCPv6 2006-01-03 13:10:50 -08:00
diag.c [IP_SOCKGLUE]: Remove most of the tcp specific calls 2006-01-03 13:10:58 -08:00
feat.c [DCCP]: Initial feature negotiation implementation 2006-03-20 17:43:56 -08:00
feat.h [DCCP]: Initial feature negotiation implementation 2006-03-20 17:43:56 -08:00
input.c [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
ipv4.c [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
ipv6.c [DCCP] ipv6: dccp_v6_send_response() has a DST leak too. 2006-01-31 17:53:37 -08:00
ipv6.h [DCCP]: Introduce DCCPv6 2006-01-03 13:10:52 -08:00
Kconfig [DCCP] CCID2: Initial CCID2 (TCP-Like) implementation 2006-03-20 17:41:47 -08:00
Makefile [DCCP]: Initial feature negotiation implementation 2006-03-20 17:43:56 -08:00
minisocks.c [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
options.c [DCCP]: Initial feature negotiation implementation 2006-03-20 17:43:56 -08:00
output.c [DCCP]: Initial feature negotiation implementation 2006-03-20 17:43:56 -08:00
proto.c [DCCP]: Initial feature negotiation implementation 2006-03-20 17:43:56 -08:00
timer.c [DCCP]: Initial feature negotiation implementation 2006-03-20 17:43:56 -08:00