Searched refs:hbhlen (Results 1 – 2 of 2) sorted by relevance
| /xnu-8796.141.3/bsd/netinet6/ |
| H A D | ip6_input.c | 1556 int off = *offp, hbhlen; in ip6_hopopts_input() local 1563 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input() 1565 IP6_EXTHDR_CHECK(m, off, hbhlen, return (-1)); in ip6_hopopts_input() 1567 off += hbhlen; in ip6_hopopts_input() 1568 hbhlen -= sizeof(struct ip6_hbh); in ip6_hopopts_input() 1572 hbhlen, rtalertp, plenp) < 0) { in ip6_hopopts_input() 1592 ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen, in ip6_process_hopopts() argument 1602 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) { in ip6_process_hopopts() 1608 if (hbhlen < IP6OPT_MINLEN) { in ip6_process_hopopts() 1616 if (hbhlen < IP6OPT_RTALERT_LEN) { in ip6_process_hopopts() [all …]
|
| H A D | ip6_output.c | 3852 int hbhlen; in ip6_setpktopt() local 3874 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt() 3875 if (len != hbhlen) { in ip6_setpktopt() 3881 opt->ip6po_hbh = kalloc_data(hbhlen, Z_NOWAIT); in ip6_setpktopt() 3885 bcopy(hbh, opt->ip6po_hbh, hbhlen); in ip6_setpktopt()
|