Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/netinet6/
Dip6_input.c339 struct ip6_hbh *hbh; in ip6_input_hbh() local
372 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_input_hbh()
374 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr), in ip6_input_hbh()
376 if (hbh == NULL) { in ip6_input_hbh()
381 *nxt = hbh->ip6h_nxt; in ip6_input_hbh()
1087 struct ip6_hbh *hbh; in ip6_hopopts_input() local
1091 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), -1); in ip6_hopopts_input()
1092 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
1093 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
1096 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
[all …]
Dip6_output.c852 struct ip6_hbh *hbh = mtod(exthdrs.ip6e_hbh, struct ip6_hbh *); in ip6_output() local
857 if ((hbh->ip6h_len + 1) << 3 > exthdrs.ip6e_hbh->m_len) in ip6_output()
868 if (ip6_process_hopopts(m, (u_int8_t *)(hbh + 1), in ip6_output()
869 ((hbh->ip6h_len + 1) << 3) - sizeof(struct ip6_hbh), in ip6_output()
1264 struct ip6_hbh *hbh; in ip6_insert_jumboopt() local
1315 hbh = mtod(mopt, struct ip6_hbh *); in ip6_insert_jumboopt()
1316 hbh->ip6h_len += (JUMBOOPTLEN >> 3); in ip6_insert_jumboopt()
2788 struct ip6_hbh *hbh; in ip6_setpktopt() local
2811 hbh = (struct ip6_hbh *)buf; in ip6_setpktopt()
2812 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt()
[all …]
Dmld6.c253 struct ip6_hbh hbh; member
262 .hbh = { 0, 0 },
3267 mld_po.ip6po_hbh = &mld_ra.hbh; in mld_init()
/freebsd-9-stable/contrib/tcpdump/
Dprint-icmp6.c600 struct ip6_hbh *hbh; in get_upperlayer() local
633 hbh = (struct ip6_hbh *)bp; in get_upperlayer()
634 if (!TTEST(hbh->ip6h_len)) in get_upperlayer()
636 nh = hbh->ip6h_nxt; in get_upperlayer()
637 hlen = (hbh->ip6h_len + 1) << 3; in get_upperlayer()