Searched refs:hbhlen (Results 1 – 3 of 3) sorted by relevance
| /xnu-11417.121.6/bsd/netinet6/ ! |
| H A D | ip6_input.c | 1579 int off = *offp, hbhlen; in ip6_hopopts_input() local 1586 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input() 1588 IP6_EXTHDR_CHECK(m, off, hbhlen, return (-1)); in ip6_hopopts_input() 1590 off += hbhlen; in ip6_hopopts_input() 1591 hbhlen -= sizeof(struct ip6_hbh); in ip6_hopopts_input() 1595 hbhlen, rtalertp, plenp) < 0) { in ip6_hopopts_input() 1620 int hbhlen = inhbhlen; in ip6_process_hopopts() local 1626 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) { in ip6_process_hopopts() 1632 if (hbhlen < IP6OPT_MINLEN) { in ip6_process_hopopts() 1641 if (hbhlen < IP6OPT_RTALERT_LEN) { in ip6_process_hopopts() [all …]
|
| H A D | ip6_var.h | 566 extern int ip6_process_hopopts(struct mbuf *, u_int8_t *__sized_by(hbhlen) opthead, int hbhlen,
|
| H A D | ip6_output.c | 3943 int hbhlen; in ip6_setpktopt() local 3965 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt() 3966 if (len != hbhlen) { in ip6_setpktopt() 3972 thbh = kalloc_data(hbhlen, Z_NOWAIT); in ip6_setpktopt() 3977 bcopy(hbh, thbh, hbhlen); in ip6_setpktopt()
|