]> Pileus Git - ~andy/linux/commit
dccp: API to query the current TX/RX CCID
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 4 Sep 2008 05:30:19 +0000 (07:30 +0200)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 4 Sep 2008 05:45:28 +0000 (07:45 +0200)
commitc8041e264b3db6944d37b87969fbe6458cb30cfd
tree0dd21c001bea090756710216717a73d8e409a65d
parentfade756f18d42694e3acb00e3471ab43002cba16
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>
net/dccp/ccid.h
net/dccp/probe.c
net/dccp/proto.c