aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/addrconf.h2
-rw-r--r--include/net/ip6_route.h1
-rw-r--r--include/net/ndisc.h3
-rw-r--r--include/net/snmp.h1
-rw-r--r--include/net/sock.h3
-rw-r--r--include/net/tcp.h6
6 files changed, 0 insertions, 16 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index a9441249306c..23710aa6a181 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -1,8 +1,6 @@
1#ifndef _ADDRCONF_H 1#ifndef _ADDRCONF_H
2#define _ADDRCONF_H 2#define _ADDRCONF_H
3 3
4#define RETRANS_TIMER HZ
5
6#define MAX_RTR_SOLICITATIONS 3 4#define MAX_RTR_SOLICITATIONS 3
7#define RTR_SOLICITATION_INTERVAL (4*HZ) 5#define RTR_SOLICITATION_INTERVAL (4*HZ)
8 6
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 67d154a3f31b..e06e0ca1e91b 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -3,7 +3,6 @@
3 3
4#define IP6_RT_PRIO_USER 1024 4#define IP6_RT_PRIO_USER 1024
5#define IP6_RT_PRIO_ADDRCONF 256 5#define IP6_RT_PRIO_ADDRCONF 256
6#define IP6_RT_PRIO_KERN 512
7 6
8struct route_info { 7struct route_info {
9 __u8 type; 8 __u8 type;
diff --git a/include/net/ndisc.h b/include/net/ndisc.h
index 895997bc2ead..e0e594f8e9d9 100644
--- a/include/net/ndisc.h
+++ b/include/net/ndisc.h
@@ -42,9 +42,6 @@ enum {
42#define ND_REACHABLE_TIME (30*HZ) 42#define ND_REACHABLE_TIME (30*HZ)
43#define ND_RETRANS_TIMER HZ 43#define ND_RETRANS_TIMER HZ
44 44
45#define ND_MIN_RANDOM_FACTOR (1/2)
46#define ND_MAX_RANDOM_FACTOR (3/2)
47
48#ifdef __KERNEL__ 45#ifdef __KERNEL__
49 46
50#include <linux/compiler.h> 47#include <linux/compiler.h>
diff --git a/include/net/snmp.h b/include/net/snmp.h
index aebb55383c43..762e2abce889 100644
--- a/include/net/snmp.h
+++ b/include/net/snmp.h
@@ -60,7 +60,6 @@ struct ipstats_mib {
60}; 60};
61 61
62/* ICMP */ 62/* ICMP */
63#define ICMP_MIB_DUMMY __ICMP_MIB_MAX
64#define ICMP_MIB_MAX __ICMP_MIB_MAX 63#define ICMP_MIB_MAX __ICMP_MIB_MAX
65struct icmp_mib { 64struct icmp_mib {
66 unsigned long mibs[ICMP_MIB_MAX]; 65 unsigned long mibs[ICMP_MIB_MAX];
diff --git a/include/net/sock.h b/include/net/sock.h
index 5557dfb3dd68..717cfbf649df 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -516,9 +516,6 @@ static __inline__ void sk_add_bind_node(struct sock *sk,
516#define sk_nulls_for_each_from(__sk, node) \ 516#define sk_nulls_for_each_from(__sk, node) \
517 if (__sk && ({ node = &(__sk)->sk_nulls_node; 1; })) \ 517 if (__sk && ({ node = &(__sk)->sk_nulls_node; 1; })) \
518 hlist_nulls_for_each_entry_from(__sk, node, sk_nulls_node) 518 hlist_nulls_for_each_entry_from(__sk, node, sk_nulls_node)
519#define sk_for_each_continue(__sk, node) \
520 if (__sk && ({ node = &(__sk)->sk_node; 1; })) \
521 hlist_for_each_entry_continue(__sk, node, sk_node)
522#define sk_for_each_safe(__sk, node, tmp, list) \ 519#define sk_for_each_safe(__sk, node, tmp, list) \
523 hlist_for_each_entry_safe(__sk, node, tmp, list, sk_node) 520 hlist_for_each_entry_safe(__sk, node, tmp, list, sk_node)
524#define sk_for_each_bound(__sk, node, list) \ 521#define sk_for_each_bound(__sk, node, list) \
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 4097320caa25..3f227baee4be 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -100,12 +100,6 @@ extern void tcp_time_wait(struct sock *sk, int state, int timeo);
100#define TCP_SYNACK_RETRIES 5 /* number of times to retry passive opening a 100#define TCP_SYNACK_RETRIES 5 /* number of times to retry passive opening a
101 * connection: ~180sec is RFC minimum */ 101 * connection: ~180sec is RFC minimum */
102 102
103
104#define TCP_ORPHAN_RETRIES 7 /* number of times to retry on an orphaned
105 * socket. 7 is ~50sec-16min.
106 */
107
108
109#define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT 103#define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT
110 * state, about 60 seconds */ 104 * state, about 60 seconds */
111#define TCP_FIN_TIMEOUT TCP_TIMEWAIT_LEN 105#define TCP_FIN_TIMEOUT TCP_TIMEWAIT_LEN