diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-28 16:33:36 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:30:59 -0500 |
commit | 5aed324369c94a2c38469c8288e42eb1a9fac400 (patch) | |
tree | 76290075540058745b53d34db1672f5e292e6b1a /include | |
parent | 78ad713da673a2977763521c347176137f3e493f (diff) |
[DCCP]: Tidy up unused structures
This removes and cleans up unused variables and structures which have become
unnecessary following the introduction of the EWMA patch to automatically track
the CCID 3 receiver/sender packet sizes `s'.
It deprecates the PACKET_SIZE socket option by returning an error code and
printing a deprecation warning if an application tries to read or write this
socket option.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dccp.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index 72cc355d7a03..ed6cc8962d87 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h | |||
@@ -200,7 +200,7 @@ struct dccp_so_feat { | |||
200 | }; | 200 | }; |
201 | 201 | ||
202 | /* DCCP socket options */ | 202 | /* DCCP socket options */ |
203 | #define DCCP_SOCKOPT_PACKET_SIZE 1 | 203 | #define DCCP_SOCKOPT_PACKET_SIZE 1 /* XXX deprecated, without effect */ |
204 | #define DCCP_SOCKOPT_SERVICE 2 | 204 | #define DCCP_SOCKOPT_SERVICE 2 |
205 | #define DCCP_SOCKOPT_CHANGE_L 3 | 205 | #define DCCP_SOCKOPT_CHANGE_L 3 |
206 | #define DCCP_SOCKOPT_CHANGE_R 4 | 206 | #define DCCP_SOCKOPT_CHANGE_R 4 |
@@ -460,7 +460,6 @@ struct dccp_ackvec; | |||
460 | * @dccps_service_list - second .. last service code on passive socket | 460 | * @dccps_service_list - second .. last service code on passive socket |
461 | * @dccps_timestamp_time - time of latest TIMESTAMP option | 461 | * @dccps_timestamp_time - time of latest TIMESTAMP option |
462 | * @dccps_timestamp_echo - latest timestamp received on a TIMESTAMP option | 462 | * @dccps_timestamp_echo - latest timestamp received on a TIMESTAMP option |
463 | * @dccps_packet_size - Set thru setsockopt | ||
464 | * @dccps_l_ack_ratio - | 463 | * @dccps_l_ack_ratio - |
465 | * @dccps_r_ack_ratio - | 464 | * @dccps_r_ack_ratio - |
466 | * @dccps_pcslen - sender partial checksum coverage (via sockopt) | 465 | * @dccps_pcslen - sender partial checksum coverage (via sockopt) |
@@ -495,7 +494,6 @@ struct dccp_sock { | |||
495 | struct dccp_service_list *dccps_service_list; | 494 | struct dccp_service_list *dccps_service_list; |
496 | struct timeval dccps_timestamp_time; | 495 | struct timeval dccps_timestamp_time; |
497 | __u32 dccps_timestamp_echo; | 496 | __u32 dccps_timestamp_echo; |
498 | __u32 dccps_packet_size; | ||
499 | __u16 dccps_l_ack_ratio; | 497 | __u16 dccps_l_ack_ratio; |
500 | __u16 dccps_r_ack_ratio; | 498 | __u16 dccps_r_ack_ratio; |
501 | __u16 dccps_pcslen; | 499 | __u16 dccps_pcslen; |