summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2012-01-05 21:02:42 +0000
committerbluhm <bluhm@openbsd.org>2012-01-05 21:02:42 +0000
commit914188d051ce0d034ebe2489aed4a1b22866f0f0 (patch)
tree99aff2ce7962d18a407856769996d749f734b23c
parentReplace the hand-crafted queue for fragmented IPv6 packets with TAILQ. (diff)
downloadwireguard-openbsd-914188d051ce0d034ebe2489aed4a1b22866f0f0.tar.xz
wireguard-openbsd-914188d051ce0d034ebe2489aed4a1b22866f0f0.zip
Replace the hand-crafted queue for fragmented IPv6 packets with TAILQ.
I forgot the header file containing struct ip6q in the last commit.
-rw-r--r--sys/netinet6/ip6_var.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h
index 61e30f08b4c..d6a60e8efec 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_var.h,v 1.41 2011/11/24 17:39:55 sperreault Exp $ */
+/* $OpenBSD: ip6_var.h,v 1.42 2012/01/05 21:02:42 bluhm Exp $ */
/* $KAME: ip6_var.h,v 1.33 2000/06/11 14:59:20 jinmei Exp $ */
/*
@@ -79,8 +79,7 @@ struct ip6q {
u_int8_t ip6q_arrive;
u_int8_t ip6q_ttl;
struct in6_addr ip6q_src, ip6q_dst;
- struct ip6q *ip6q_next;
- struct ip6q *ip6q_prev;
+ TAILQ_ENTRY(ip6q) ip6q_queue;
int ip6q_unfrglen; /* len of unfragmentable part */
#ifdef notyet
u_char *ip6q_nxtp;