Home
last modified time | relevance | path

Searched refs:hbhlen (Results 1 – 2 of 2) sorted by relevance

/xnu-10063.101.15/bsd/netinet6/
H A Dip6_input.c1559 int off = *offp, hbhlen; in ip6_hopopts_input() local
1566 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
1568 IP6_EXTHDR_CHECK(m, off, hbhlen, return (-1)); in ip6_hopopts_input()
1570 off += hbhlen; in ip6_hopopts_input()
1571 hbhlen -= sizeof(struct ip6_hbh); in ip6_hopopts_input()
1575 hbhlen, rtalertp, plenp) < 0) { in ip6_hopopts_input()
1595 ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen, in ip6_process_hopopts() argument
1605 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) { in ip6_process_hopopts()
1611 if (hbhlen < IP6OPT_MINLEN) { in ip6_process_hopopts()
1619 if (hbhlen < IP6OPT_RTALERT_LEN) { in ip6_process_hopopts()
[all …]
H A Dip6_output.c3854 int hbhlen; in ip6_setpktopt() local
3876 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt()
3877 if (len != hbhlen) { in ip6_setpktopt()
3883 opt->ip6po_hbh = kalloc_data(hbhlen, Z_NOWAIT); in ip6_setpktopt()
3887 bcopy(hbh, opt->ip6po_hbh, hbhlen); in ip6_setpktopt()