diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:30:19 -0400 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:45:31 -0400 |
commit | 78673e24df27c76ec75565f4024d45c2c74ef148 (patch) | |
tree | cdcd2a3b9e29f40063a592ebb4dc2de1184401e0 /include/linux | |
parent | 23479cbfd30402c7d9fa413cc467983061073557 (diff) |
dccp: Remove obsolete parts of the old CCID interface
The TX/RX CCIDs of the minisock are now redundant: similar to the Ack Vector
case, their value equals initially that of the sysctl, but at the end of
feature negotiation may be something different.
The old interface removed by this patch thus has been replaced by the newer
interface to dynamically query the currently loaded CCIDs earlier in this
patch set.
Also removed the constructors for the TX CCID and the RX CCID, since the
switch rx/non-rx is done by the handler in minisocks.c (and the handler is
the only place in the code where CCIDs are loaded).
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/dccp.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index 6a72ff52a8a4..46daea312d92 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h | |||
@@ -370,7 +370,6 @@ static inline unsigned int dccp_hdr_len(const struct sk_buff *skb) | |||
370 | * Will be used to pass the state from dccp_request_sock to dccp_sock. | 370 | * Will be used to pass the state from dccp_request_sock to dccp_sock. |
371 | * | 371 | * |
372 | * @dccpms_sequence_window - Sequence Window Feature (section 7.5.2) | 372 | * @dccpms_sequence_window - Sequence Window Feature (section 7.5.2) |
373 | * @dccpms_ccid - Congestion Control Id (CCID) (section 10) | ||
374 | * @dccpms_send_ack_vector - Send Ack Vector Feature (section 11.5) | 373 | * @dccpms_send_ack_vector - Send Ack Vector Feature (section 11.5) |
375 | * @dccpms_send_ndp_count - Send NDP Count Feature (7.7.2) | 374 | * @dccpms_send_ndp_count - Send NDP Count Feature (7.7.2) |
376 | * @dccpms_pending - List of features being negotiated | 375 | * @dccpms_pending - List of features being negotiated |
@@ -378,8 +377,6 @@ static inline unsigned int dccp_hdr_len(const struct sk_buff *skb) | |||
378 | */ | 377 | */ |
379 | struct dccp_minisock { | 378 | struct dccp_minisock { |
380 | __u64 dccpms_sequence_window; | 379 | __u64 dccpms_sequence_window; |
381 | __u8 dccpms_rx_ccid; | ||
382 | __u8 dccpms_tx_ccid; | ||
383 | __u8 dccpms_send_ack_vector; | 380 | __u8 dccpms_send_ack_vector; |
384 | __u8 dccpms_send_ndp_count; | 381 | __u8 dccpms_send_ndp_count; |
385 | struct list_head dccpms_pending; | 382 | struct list_head dccpms_pending; |