diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-13 10:25:41 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:22:19 -0500 |
commit | afb0a34dd3e20b3f534de19993271b8664cf10bb (patch) | |
tree | f7660923d8dfa7e75ea655b99a6b608d67dea327 /net/dccp/dccp.h | |
parent | 2e2e9e92bd723244ea20fa488b1780111f2b05e1 (diff) |
[DCCP]: Introduce a consistent naming scheme for sysctls
In order to make their function clearer and obtain a consistent naming
scheme to identify sysctls, all existing DCCP sysctls have been prefixed
with `sysctl_dccp', following the same convention as used by TCP.
Feature-specific sysctls retain the `feat' in the middle, although the
`default' has been dropped, since it is obvious from use.
Also removed a duplicate `dccp_feat_default_sequence_window' in ipv4.c.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index e7b96074a1b1..363fa520056e 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -68,12 +68,12 @@ extern void dccp_time_wait(struct sock *sk, int state, int timeo); | |||
68 | extern int sysctl_dccp_request_retries; | 68 | extern int sysctl_dccp_request_retries; |
69 | extern int sysctl_dccp_retries1; | 69 | extern int sysctl_dccp_retries1; |
70 | extern int sysctl_dccp_retries2; | 70 | extern int sysctl_dccp_retries2; |
71 | extern int dccp_feat_default_sequence_window; | 71 | extern int sysctl_dccp_feat_sequence_window; |
72 | extern int dccp_feat_default_rx_ccid; | 72 | extern int sysctl_dccp_feat_rx_ccid; |
73 | extern int dccp_feat_default_tx_ccid; | 73 | extern int sysctl_dccp_feat_tx_ccid; |
74 | extern int dccp_feat_default_ack_ratio; | 74 | extern int sysctl_dccp_feat_ack_ratio; |
75 | extern int dccp_feat_default_send_ack_vector; | 75 | extern int sysctl_dccp_feat_send_ack_vector; |
76 | extern int dccp_feat_default_send_ndp_count; | 76 | extern int sysctl_dccp_feat_send_ndp_count; |
77 | 77 | ||
78 | /* is seq1 < seq2 ? */ | 78 | /* is seq1 < seq2 ? */ |
79 | static inline int before48(const u64 seq1, const u64 seq2) | 79 | static inline int before48(const u64 seq1, const u64 seq2) |