summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-11-09 23:22:53 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-11-09 23:22:53 +0100
commit4ac7c8341c660db654821ed2dc0273645dc19645 (patch)
tree246c5cd54ab5a851a6f7a8397515e0e0f61fbbe7 /lib
parent3f22fa9e74c8643d3e4f7e3a7b4f2aa992ad09f5 (diff)
Use IPv6 checksums in OSPFv3.
Diffstat (limited to 'lib')
-rw-r--r--lib/socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/socket.h b/lib/socket.h
index f44e8e88..c642bdf9 100644
--- a/lib/socket.h
+++ b/lib/socket.h
@@ -60,6 +60,10 @@ int sk_setup_multicast(sock *s);
int sk_join_group(sock *s, ip_addr maddr);
int sk_leave_group(sock *s, ip_addr maddr);
+#ifdef IPV6
+int sk_set_ipv6_checksum(sock *s, int offset);
+#endif
+
static inline int
sk_send_buffer_empty(sock *sk)
{