diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 07:30:19 +0200 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 07:45:30 +0200 |
commit | c926c6aed3e444e8c88a768f063b2de8fd6ae760 (patch) | |
tree | c3d2507f5652aed5ff0a2908ad8147a143e09a82 /net/dccp/proto.c | |
parent | dccp: Processing Confirm options (diff) | |
download | linux-c926c6aed3e444e8c88a768f063b2de8fd6ae760.tar.xz linux-c926c6aed3e444e8c88a768f063b2de8fd6ae760.zip |
dccp: Feature activation handlers
This patch provides the post-processing of feature negotiation state, after
the negotiation has completed.
To this purpose, handlers are used and added to the dccp_feat_table. Each
handler is passed a boolean flag whether the RX or TX side of the feature
is meant.
Several handlers are provided already, new handlers can easily be added.
The initialisation is now fully dynamic, i.e. CCIDs are activated only
after the feature negotiation. The integration of this dynamic activation
is done in the subsequent patches.
Thanks to Wei Yongjun for pointing out the necessity of skipping over empty
Confirm options while copying the negotiated feature values.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Diffstat (limited to 'net/dccp/proto.c')
0 files changed, 0 insertions, 0 deletions