diff options
| author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-28 15:14:10 -0500 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:30:56 -0500 |
| commit | 4384260443efe90a2ec0d907568dbc58ae792cd0 (patch) | |
| tree | a1eb5eb3eab2a2753af3dec4de97a7a4fc49cd97 /include/linux | |
| parent | ee41e2dff1a0ac548f12871f4bb23fe9e69e13eb (diff) | |
[DCCP]: Remove allocation of sysctl numbers
This is in response to a request sent earlier by Eric W. Biederman
and replaces all sysctl numbers for net.dccp.default with CTL_UNNUMBERED.
It has been tested to compile and to work.
Commiter note: I've removed the use of CTL_UNNUMBERED, not setting .ctl_name
sets it to 0, that is the what CTL_UNNUMBERED is, reason is
to avoid unneeded source code cluttering.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sysctl.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 61dd99c6c2..94316a98e0 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
| @@ -606,20 +606,6 @@ enum { | |||
| 606 | NET_DCCP_DEFAULT=1, | 606 | NET_DCCP_DEFAULT=1, |
| 607 | }; | 607 | }; |
| 608 | 608 | ||
| 609 | /* /proc/sys/net/dccp/default */ | ||
| 610 | enum { | ||
| 611 | NET_DCCP_DEFAULT_SEQ_WINDOW = 1, | ||
| 612 | NET_DCCP_DEFAULT_RX_CCID = 2, | ||
| 613 | NET_DCCP_DEFAULT_TX_CCID = 3, | ||
| 614 | NET_DCCP_DEFAULT_ACK_RATIO = 4, | ||
| 615 | NET_DCCP_DEFAULT_SEND_ACKVEC = 5, | ||
| 616 | NET_DCCP_DEFAULT_SEND_NDP = 6, | ||
| 617 | NET_DCCP_DEFAULT_REQ_RETRIES = 7, | ||
| 618 | NET_DCCP_DEFAULT_RETRIES1 = 8, | ||
| 619 | NET_DCCP_DEFAULT_RETRIES2 = 9, | ||
| 620 | NET_DCCP_DEFAULT_TX_QLEN = 10, | ||
| 621 | }; | ||
| 622 | |||
| 623 | /* /proc/sys/net/ipx */ | 609 | /* /proc/sys/net/ipx */ |
| 624 | enum { | 610 | enum { |
| 625 | NET_IPX_PPROP_BROADCASTING=1, | 611 | NET_IPX_PPROP_BROADCASTING=1, |
