Home
last modified time | relevance | path

Searched refs:hbh (Results 1 – 4 of 4) sorted by relevance

/xnu-11215.81.4/tests/
H A DIP6_EXTHDR_CHECK_61873584.c12 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-11215.81.4/bsd/netinet6/
H A Dip6_input.c1186 struct ip6_hbh *__single hbh; in ip6_input() local
1223 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_input()
1224 nxt = hbh->ip6h_nxt; in ip6_input()
1579 struct ip6_hbh *hbh; in ip6_hopopts_input() local
1583 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), return (-1)); in ip6_hopopts_input()
1584 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
1585 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
1588 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
1591 opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh); in ip6_hopopts_input()
1593 if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh), in ip6_hopopts_input()
[all …]
H A Dip6_output.c1454 struct ip6_hbh *hbh = mtod(exthdrs.ip6e_hbh, struct ip6_hbh *); in ip6_output_list() local
1458 if ((hbh->ip6h_len + 1) << 3 > exthdrs.ip6e_hbh->m_len) { in ip6_output_list()
1470 if (ip6_process_hopopts(m, (u_int8_t *)(hbh + 1), in ip6_output_list()
1471 ((hbh->ip6h_len + 1) << 3) - sizeof(struct ip6_hbh), in ip6_output_list()
2182 struct ip6_hbh *hbh; in ip6_insert_jumboopt() local
2235 hbh = mtod(mopt, struct ip6_hbh *); in ip6_insert_jumboopt()
2236 hbh->ip6h_len += (JUMBOOPTLEN >> 3); in ip6_insert_jumboopt()
3907 struct ip6_hbh *hbh, *thbh = NULL; in ip6_setpktopt() local
3929 hbh = (struct ip6_hbh *)(void *)buf; in ip6_setpktopt()
3930 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt()
[all …]
H A Dmld6.c300 struct ip6_hbh hbh; member
309 .hbh = { .ip6h_nxt = 0, .ip6h_len = 0 },
3888 mld_po.ip6po_hbh = &mld_ra.hbh; in mld_init()