diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-12-14 10:22:54 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-04 00:10:46 +0300 |
commit | b9750ce13c08aa8a71a9b138d741f3046aefd991 (patch) | |
tree | 08b2b842ece908bf63c104bbcb12e8b78c69288d /include/linux/ipv6.h | |
parent | 830a1e5c212fb3fdc83b66359c780c3b3a294897 (diff) | |
download | linux-b9750ce13c08aa8a71a9b138d741f3046aefd991.tar.xz |
[IPV6]: Generalise some functions
Using sk->sk_protocol instead of IPPROTO_TCP.
Will be used by DCCPv6 in the next changesets.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 7d3e86d9576e..69a0decfbdf4 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -297,6 +297,8 @@ struct tcp6_sock { struct ipv6_pinfo inet6; }; +extern int inet6_sk_rebuild_header(struct sock *sk); + #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) { |