| version 1.67, 2003/10/14 05:33:04 |
version 1.68, 2003/10/30 01:43:09 |
| Line 770 ip6_hopopts_input(plenp, rtalertp, mp, o |
|
| Line 770 ip6_hopopts_input(plenp, rtalertp, mp, o |
|
| struct mbuf *m = *mp; |
struct mbuf *m = *mp; |
| int off = *offp, hbhlen; |
int off = *offp, hbhlen; |
| struct ip6_hbh *hbh; |
struct ip6_hbh *hbh; |
| u_int8_t *opt; |
|
| |
|
| /* validation of the length of the header */ |
/* validation of the length of the header */ |
| IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, |
IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, |
| Line 789 ip6_hopopts_input(plenp, rtalertp, mp, o |
|
| Line 788 ip6_hopopts_input(plenp, rtalertp, mp, o |
|
| KASSERT(IP6_HDR_ALIGNED_P(hbh)); |
KASSERT(IP6_HDR_ALIGNED_P(hbh)); |
| off += hbhlen; |
off += hbhlen; |
| hbhlen -= sizeof(struct ip6_hbh); |
hbhlen -= sizeof(struct ip6_hbh); |
| opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh); |
|
| |
|
| if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh), |
if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh), |
| hbhlen, rtalertp, plenp) < 0) |
hbhlen, rtalertp, plenp) < 0) |