diff options
author | JINMEI Tatuya <jinmei@FreeBSD.org> | 2007-06-04 06:06:35 +0000 |
---|---|---|
committer | JINMEI Tatuya <jinmei@FreeBSD.org> | 2007-06-04 06:06:35 +0000 |
commit | 5e9510e3b63d993617a688166ffa1cb471b15ac1 (patch) | |
tree | 071d5e85b3fbca5e90ec15e0ddfe3296c85b2a24 /sys/netinet6/ip6_var.h | |
parent | 185d3fe9e821396544f9c2c06617f55a5197f23f (diff) | |
download | src-5e9510e3b63d993617a688166ffa1cb471b15ac1.tar.gz src-5e9510e3b63d993617a688166ffa1cb471b15ac1.zip |
cleanup about the reassembly structures and routine:
- removed unused structure members
- fixed a minor bug that the ECN code point may not be restored correctly
Approved by: ume (mentor)
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=170275
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r-- | sys/netinet6/ip6_var.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h index 91b444bf69f2..8aafe9356c0c 100644 --- a/sys/netinet6/ip6_var.h +++ b/sys/netinet6/ip6_var.h @@ -69,16 +69,13 @@ * being reassembled is attached to one of these structures. */ struct ip6q { - u_int32_t ip6q_head; - u_int16_t ip6q_len; - u_int8_t ip6q_nxt; /* ip6f_nxt in first fragment */ - u_int8_t ip6q_hlim; struct ip6asfrag *ip6q_down; struct ip6asfrag *ip6q_up; u_int32_t ip6q_ident; - u_int8_t ip6q_arrive; + u_int8_t ip6q_nxt; + u_int8_t ip6q_ecn; u_int8_t ip6q_ttl; - struct in6_addr ip6q_src, ip6q_dst; + struct in6_addr ip6q_src, ip6q_dst; struct ip6q *ip6q_next; struct ip6q *ip6q_prev; int ip6q_unfrglen; /* len of unfragmentable part */ @@ -89,11 +86,6 @@ struct ip6q { }; struct ip6asfrag { - u_int32_t ip6af_head; - u_int16_t ip6af_len; - u_int8_t ip6af_nxt; - u_int8_t ip6af_hlim; - /* must not override the above members during reassembling */ struct ip6asfrag *ip6af_down; struct ip6asfrag *ip6af_up; struct mbuf *ip6af_m; |