diff options
-rw-r--r-- | sys/netinet/ip6.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/netinet/ip6.h b/sys/netinet/ip6.h index 4239e4629a7..83a527c7d5d 100644 --- a/sys/netinet/ip6.h +++ b/sys/netinet/ip6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6.h,v 1.13 2003/11/16 20:30:07 avsm Exp $ */ +/* $OpenBSD: ip6.h,v 1.14 2004/01/08 05:31:13 itojun Exp $ */ /* $KAME: ip6.h,v 1.45 2003/06/05 04:46:38 keiichi Exp $ */ /* @@ -109,9 +109,20 @@ struct ip6_hdr { #endif /* - * Extension Headers + * for IPv6 pseudo header checksum + * XXX nonstandard */ +struct ip6_hdr_pseudo { + struct in6_addr ip6ph_src; + struct in6_addr ip6ph_dst; + u_int32_t ip6ph_len; + u_int8_t ip6ph_zero[3]; + u_int8_t ip6ph_nxt; +} __packed; +/* + * Extension Headers + */ struct ip6_ext { u_int8_t ip6e_nxt; u_int8_t ip6e_len; |