diff options
author | jinmei <jinmei@FreeBSD.org> | 2007-06-04 06:06:35 +0000 |
---|---|---|
committer | jinmei <jinmei@FreeBSD.org> | 2007-06-04 06:06:35 +0000 |
commit | eff13571bcc3099e23ae5f1fd66587fead9de918 (patch) | |
tree | 071d5e85b3fbca5e90ec15e0ddfe3296c85b2a24 /sys/netinet6/ip6_var.h | |
parent | f5e3f2b6d0bf37f4dd12cbddf91f909cec98afa3 (diff) | |
download | FreeBSD-src-eff13571bcc3099e23ae5f1fd66587fead9de918.zip FreeBSD-src-eff13571bcc3099e23ae5f1fd66587fead9de918.tar.gz |
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
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 91b444b..8aafe93 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; |