[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>
This commit is contained in:
committed by
David S. Miller
parent
ee41e2dff1
commit
4384260443
@@ -606,20 +606,6 @@ enum {
|
||||
NET_DCCP_DEFAULT=1,
|
||||
};
|
||||
|
||||
/* /proc/sys/net/dccp/default */
|
||||
enum {
|
||||
NET_DCCP_DEFAULT_SEQ_WINDOW = 1,
|
||||
NET_DCCP_DEFAULT_RX_CCID = 2,
|
||||
NET_DCCP_DEFAULT_TX_CCID = 3,
|
||||
NET_DCCP_DEFAULT_ACK_RATIO = 4,
|
||||
NET_DCCP_DEFAULT_SEND_ACKVEC = 5,
|
||||
NET_DCCP_DEFAULT_SEND_NDP = 6,
|
||||
NET_DCCP_DEFAULT_REQ_RETRIES = 7,
|
||||
NET_DCCP_DEFAULT_RETRIES1 = 8,
|
||||
NET_DCCP_DEFAULT_RETRIES2 = 9,
|
||||
NET_DCCP_DEFAULT_TX_QLEN = 10,
|
||||
};
|
||||
|
||||
/* /proc/sys/net/ipx */
|
||||
enum {
|
||||
NET_IPX_PPROP_BROADCASTING=1,
|
||||
|
Reference in New Issue
Block a user