Searched refs:hbh (Results 1 – 4 of 4) sorted by relevance
| /xnu-12377.1.9/tests/ |
| H A D | IP6_EXTHDR_CHECK_61873584.c | 12 struct ip6_hbh hbh; member 22 struct ip6_hbh hbh; member 51 packet1.hbh.ip6h_nxt = IPPROTO_FRAGMENT; 52 packet1.hbh.ip6h_len = 0; 67 packet2.hbh.ip6h_nxt = IPPROTO_FRAGMENT; 68 packet2.hbh.ip6h_len = 0;
|
| /xnu-12377.1.9/bsd/netinet6/ |
| H A D | ip6_input.c | 1197 struct ip6_hbh *__single hbh; in ip6_input() local 1234 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_input() 1235 nxt = hbh->ip6h_nxt; in ip6_input() 1597 struct ip6_hbh *hbh; in ip6_hopopts_input() local 1601 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), return (-1)); in ip6_hopopts_input() 1602 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input() 1603 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input() 1606 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input() 1609 opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh); in ip6_hopopts_input() 1611 if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh), in ip6_hopopts_input() [all …]
|
| H A D | ip6_output.c | 1484 struct ip6_hbh *hbh = mtod(exthdrs.ip6e_hbh, struct ip6_hbh *); in ip6_output_list() local 1488 if ((hbh->ip6h_len + 1) << 3 > exthdrs.ip6e_hbh->m_len) { in ip6_output_list() 1500 if (ip6_process_hopopts(m, (u_int8_t *)(hbh + 1), in ip6_output_list() 1501 ((hbh->ip6h_len + 1) << 3) - sizeof(struct ip6_hbh), in ip6_output_list() 2217 struct ip6_hbh *hbh; in ip6_insert_jumboopt() local 2270 hbh = mtod(mopt, struct ip6_hbh *); in ip6_insert_jumboopt() 2271 hbh->ip6h_len += (JUMBOOPTLEN >> 3); in ip6_insert_jumboopt() 3954 struct ip6_hbh *hbh, *thbh = NULL; in ip6_setpktopt() local 3976 hbh = (struct ip6_hbh *)(void *)buf; in ip6_setpktopt() 3977 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt() [all …]
|
| H A D | mld6.c | 301 struct ip6_hbh hbh; member 310 .hbh = { .ip6h_nxt = 0, .ip6h_len = 0 }, 3885 mld_po.ip6po_hbh = &mld_ra.hbh; in mld_init()
|