diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 16:44:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 16:44:43 -0500 |
commit | 58dc125a66145f45f239cd78db9410062dc0bcd4 (patch) | |
tree | 90537ddf035e96ca3182f61755ed234de93b449b /include | |
parent | c544bdb1999e04eb10035f1c3262a103859d94b2 (diff) | |
parent | 8a4c8a96a47c9e2f08156fd9664974df086eed50 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv4/ip_nat_protocol.h | 7 | ||||
-rw-r--r-- | include/linux/netfilter_ipv6.h | 5 | ||||
-rw-r--r-- | include/net/inet_connection_sock.h | 4 |
3 files changed, 7 insertions, 9 deletions
diff --git a/include/linux/netfilter_ipv4/ip_nat_protocol.h b/include/linux/netfilter_ipv4/ip_nat_protocol.h index ef63aa991a06..612a43614e7b 100644 --- a/include/linux/netfilter_ipv4/ip_nat_protocol.h +++ b/include/linux/netfilter_ipv4/ip_nat_protocol.h | |||
@@ -42,13 +42,6 @@ struct ip_nat_protocol | |||
42 | enum ip_nat_manip_type maniptype, | 42 | enum ip_nat_manip_type maniptype, |
43 | const struct ip_conntrack *conntrack); | 43 | const struct ip_conntrack *conntrack); |
44 | 44 | ||
45 | unsigned int (*print)(char *buffer, | ||
46 | const struct ip_conntrack_tuple *match, | ||
47 | const struct ip_conntrack_tuple *mask); | ||
48 | |||
49 | unsigned int (*print_range)(char *buffer, | ||
50 | const struct ip_nat_range *range); | ||
51 | |||
52 | int (*range_to_nfattr)(struct sk_buff *skb, | 45 | int (*range_to_nfattr)(struct sk_buff *skb, |
53 | const struct ip_nat_range *range); | 46 | const struct ip_nat_range *range); |
54 | 47 | ||
diff --git a/include/linux/netfilter_ipv6.h b/include/linux/netfilter_ipv6.h index 53b2983f6278..14f2bd010884 100644 --- a/include/linux/netfilter_ipv6.h +++ b/include/linux/netfilter_ipv6.h | |||
@@ -72,7 +72,12 @@ enum nf_ip6_hook_priorities { | |||
72 | NF_IP6_PRI_LAST = INT_MAX, | 72 | NF_IP6_PRI_LAST = INT_MAX, |
73 | }; | 73 | }; |
74 | 74 | ||
75 | #ifdef CONFIG_NETFILTER | ||
75 | extern int ipv6_netfilter_init(void); | 76 | extern int ipv6_netfilter_init(void); |
76 | extern void ipv6_netfilter_fini(void); | 77 | extern void ipv6_netfilter_fini(void); |
78 | #else /* CONFIG_NETFILTER */ | ||
79 | static inline int ipv6_netfilter_init(void) { return 0; } | ||
80 | static inline void ipv6_netfilter_fini(void) { return; } | ||
81 | #endif /* CONFIG_NETFILTER */ | ||
77 | 82 | ||
78 | #endif /*__LINUX_IP6_NETFILTER_H*/ | 83 | #endif /*__LINUX_IP6_NETFILTER_H*/ |
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 50234fa56a68..fa587c94e9d0 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -83,8 +83,8 @@ struct inet_connection_sock { | |||
83 | struct timer_list icsk_delack_timer; | 83 | struct timer_list icsk_delack_timer; |
84 | __u32 icsk_rto; | 84 | __u32 icsk_rto; |
85 | __u32 icsk_pmtu_cookie; | 85 | __u32 icsk_pmtu_cookie; |
86 | struct tcp_congestion_ops *icsk_ca_ops; | 86 | const struct tcp_congestion_ops *icsk_ca_ops; |
87 | struct inet_connection_sock_af_ops *icsk_af_ops; | 87 | const struct inet_connection_sock_af_ops *icsk_af_ops; |
88 | unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu); | 88 | unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu); |
89 | __u8 icsk_ca_state; | 89 | __u8 icsk_ca_state; |
90 | __u8 icsk_retransmits; | 90 | __u8 icsk_retransmits; |