Home
last modified time | relevance | path

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

/xnu-8792.41.9/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-8792.41.9/bsd/netinet6/
H A Dip6_input.c1166 struct ip6_hbh *hbh; in ip6_input() local
1203 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_input()
1204 nxt = hbh->ip6h_nxt; in ip6_input()
1551 struct ip6_hbh *hbh; in ip6_hopopts_input() local
1555 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), return (-1)); in ip6_hopopts_input()
1556 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
1557 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
1560 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
1563 opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh); in ip6_hopopts_input()
1565 if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh), in ip6_hopopts_input()
[all …]
H A Dip6_output.c1427 struct ip6_hbh *hbh = mtod(exthdrs.ip6e_hbh, struct ip6_hbh *); in ip6_output_list() local
1431 if ((hbh->ip6h_len + 1) << 3 > exthdrs.ip6e_hbh->m_len) { in ip6_output_list()
1443 if (ip6_process_hopopts(m, (u_int8_t *)(hbh + 1), in ip6_output_list()
1444 ((hbh->ip6h_len + 1) << 3) - sizeof(struct ip6_hbh), in ip6_output_list()
2163 struct ip6_hbh *hbh; in ip6_insert_jumboopt() local
2216 hbh = mtod(mopt, struct ip6_hbh *); in ip6_insert_jumboopt()
2217 hbh->ip6h_len += (JUMBOOPTLEN >> 3); in ip6_insert_jumboopt()
3855 struct ip6_hbh *hbh; in ip6_setpktopt() local
3877 hbh = (struct ip6_hbh *)(void *)buf; in ip6_setpktopt()
3878 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt()
[all …]
H A Dmld6.c294 struct ip6_hbh hbh; member
303 .hbh = { .ip6h_nxt = 0, .ip6h_len = 0 },
3826 mld_po.ip6po_hbh = &mld_ra.hbh; in mld_init()