dccp: API to query the current TX/RX CCID
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 24 Nov 2008 00:04:59 +0000 (16:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 00:04:59 +0000 (16:04 -0800)
commit71c262a3dd42dea73700646d969b0af7a4102edf
tree7586f62639805bc6b6854b71294e53be66490f2c
parentb20a9c24d5c5d466d7e4a25c6f1bedbd2d16ad4f
dccp: API to query the current TX/RX CCID

This provides function to query the current TX/RX CCID dynamically,
without reliance on the minisock value, using dynamic information
available in the currently loaded CCID module.

This query function is then used to
 (a) provide the getsockopt part for getting/setting CCIDs via sockopts;
 (b) replace the current test for "which CCID is in use" in probe.c.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccid.h
net/dccp/probe.c
net/dccp/proto.c