Searched refs:hbh (Results 1 – 4 of 4) sorted by relevance
| /xnu-11417.121.6/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-11417.121.6/bsd/netinet6/ |
| H A D | ip6_input.c | 1187 struct ip6_hbh *__single hbh; in ip6_input() local 1224 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_input() 1225 nxt = hbh->ip6h_nxt; in ip6_input() 1580 struct ip6_hbh *hbh; in ip6_hopopts_input() local 1584 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), return (-1)); in ip6_hopopts_input() 1585 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input() 1586 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input() 1589 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input() 1592 opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh); in ip6_hopopts_input() 1594 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() 3942 struct ip6_hbh *hbh, *thbh = NULL; in ip6_setpktopt() local 3964 hbh = (struct ip6_hbh *)(void *)buf; in ip6_setpktopt() 3965 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt() [all …]
|
| H A D | mld6.c | 300 struct ip6_hbh hbh; member 309 .hbh = { .ip6h_nxt = 0, .ip6h_len = 0 }, 3888 mld_po.ip6po_hbh = &mld_ra.hbh; in mld_init()
|