Commit fe7a060a authored by Art Haas's avatar Art Haas Committed by David S. Miller

[IPV4]: Reformat ipv4_route_table.

parent d6ebd145
...@@ -2414,7 +2414,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2414,7 +2414,7 @@ ctl_table ipv4_route_table[] = {
.data = &flush_delay, .data = &flush_delay,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&ipv4_sysctl_rtcache_flush, .proc_handler = &ipv4_sysctl_rtcache_flush,
.strategy = &ipv4_sysctl_rtcache_flush_strategy, .strategy = &ipv4_sysctl_rtcache_flush_strategy,
}, },
{ {
...@@ -2423,7 +2423,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2423,7 +2423,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_min_delay, .data = &ip_rt_min_delay,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = &sysctl_jiffies,
}, },
{ {
...@@ -2432,7 +2432,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2432,7 +2432,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_max_delay, .data = &ip_rt_max_delay,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = &sysctl_jiffies,
}, },
{ {
...@@ -2441,7 +2441,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2441,7 +2441,7 @@ ctl_table ipv4_route_table[] = {
.data = &ipv4_dst_ops.gc_thresh, .data = &ipv4_dst_ops.gc_thresh,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_MAX_SIZE, .ctl_name = NET_IPV4_ROUTE_MAX_SIZE,
...@@ -2449,7 +2449,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2449,7 +2449,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_max_size, .data = &ip_rt_max_size,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_GC_MIN_INTERVAL, .ctl_name = NET_IPV4_ROUTE_GC_MIN_INTERVAL,
...@@ -2457,7 +2457,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2457,7 +2457,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_min_interval, .data = &ip_rt_gc_min_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = &sysctl_jiffies,
}, },
{ {
...@@ -2466,7 +2466,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2466,7 +2466,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_timeout, .data = &ip_rt_gc_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = &sysctl_jiffies,
}, },
{ {
...@@ -2475,7 +2475,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2475,7 +2475,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_interval, .data = &ip_rt_gc_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = &sysctl_jiffies,
}, },
{ {
...@@ -2484,7 +2484,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2484,7 +2484,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_redirect_load, .data = &ip_rt_redirect_load,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_REDIRECT_NUMBER, .ctl_name = NET_IPV4_ROUTE_REDIRECT_NUMBER,
...@@ -2492,7 +2492,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2492,7 +2492,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_redirect_number, .data = &ip_rt_redirect_number,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_REDIRECT_SILENCE, .ctl_name = NET_IPV4_ROUTE_REDIRECT_SILENCE,
...@@ -2500,7 +2500,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2500,7 +2500,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_redirect_silence, .data = &ip_rt_redirect_silence,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_ERROR_COST, .ctl_name = NET_IPV4_ROUTE_ERROR_COST,
...@@ -2508,7 +2508,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2508,7 +2508,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_error_cost, .data = &ip_rt_error_cost,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_ERROR_BURST, .ctl_name = NET_IPV4_ROUTE_ERROR_BURST,
...@@ -2516,7 +2516,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2516,7 +2516,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_error_burst, .data = &ip_rt_error_burst,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_GC_ELASTICITY, .ctl_name = NET_IPV4_ROUTE_GC_ELASTICITY,
...@@ -2524,7 +2524,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2524,7 +2524,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_elasticity, .data = &ip_rt_gc_elasticity,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_MTU_EXPIRES, .ctl_name = NET_IPV4_ROUTE_MTU_EXPIRES,
...@@ -2532,7 +2532,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2532,7 +2532,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_mtu_expires, .data = &ip_rt_mtu_expires,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = &sysctl_jiffies,
}, },
{ {
...@@ -2541,7 +2541,7 @@ ctl_table ipv4_route_table[] = { ...@@ -2541,7 +2541,7 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_min_pmtu, .data = &ip_rt_min_pmtu,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_MIN_ADVMSS, .ctl_name = NET_IPV4_ROUTE_MIN_ADVMSS,
...@@ -2549,9 +2549,9 @@ ctl_table ipv4_route_table[] = { ...@@ -2549,9 +2549,9 @@ ctl_table ipv4_route_table[] = {
.data = &ip_rt_min_advmss, .data = &ip_rt_min_advmss,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler =&proc_dointvec, .proc_handler = &proc_dointvec,
}, },
{ 0 } { .ctl_name = 0 }
}; };
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment