diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2012-01-05 21:02:43 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2012-01-05 21:02:43 +0000 |
commit | dec4f7c7df12a2bd93cb9c12adb8d8a498cd53ed (patch) | |
tree | c485e66b326392ad52a0d03a898cee2624adc8bd /sys | |
parent | fc32702e9820aaf504fa8a53719adf67edfaecb0 (diff) |
Replace the hand-crafted queue for fragmented IPv6 packets with TAILQ.
I forgot the header file containing struct ip6q in the last commit.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/ip6_var.h | 5 |
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; |