Skip to content

Commit

Permalink
[DCCP]: Shift sysctls into feat.h
Browse files Browse the repository at this point in the history
This shifts further sysctls into feat.h. No change in
functionality - shifting code only.

Signed off by: Ian McDonald <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
imcdnzl authored and David S. Miller committed Sep 22, 2006
1 parent ef047f5 commit 2a0109a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions net/dccp/feat.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@ extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk);
extern int dccp_feat_init(struct dccp_minisock *dmsk);

extern int dccp_feat_default_sequence_window;
extern int dccp_feat_default_rx_ccid;
extern int dccp_feat_default_tx_ccid;
extern int dccp_feat_default_ack_ratio;
extern int dccp_feat_default_send_ack_vector;
extern int dccp_feat_default_send_ndp_count;

#endif /* _DCCP_FEAT_H */
8 changes: 1 addition & 7 deletions net/dccp/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@

#include <linux/mm.h>
#include <linux/sysctl.h>
#include "feat.h"

#ifndef CONFIG_SYSCTL
#error This file should not be compiled without CONFIG_SYSCTL defined
#endif

extern int dccp_feat_default_sequence_window;
extern int dccp_feat_default_rx_ccid;
extern int dccp_feat_default_tx_ccid;
extern int dccp_feat_default_ack_ratio;
extern int dccp_feat_default_send_ack_vector;
extern int dccp_feat_default_send_ndp_count;

static struct ctl_table dccp_default_table[] = {
{
.ctl_name = NET_DCCP_DEFAULT_SEQ_WINDOW,
Expand Down

0 comments on commit 2a0109a

Please sign in to comment.