Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/ipfw/pmod/
H A Dtcpmod.c120 struct ip6_hbh *hbh; in tcpmod_ipv6_setmss() local
135 hbh = mtodo(*mp, hlen); in tcpmod_ipv6_setmss()
136 proto = hbh->ip6h_nxt; in tcpmod_ipv6_setmss()
137 hlen += (hbh->ip6h_len + 1) << 3; in tcpmod_ipv6_setmss()
/freebsd/sys/netinet6/
H A Dip6_input.c401 struct ip6_hbh *hbh; in ip6_input_hbh() local
434 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_input_hbh()
435 *nxt = hbh->ip6h_nxt; in ip6_input_hbh()
951 struct ip6_hbh *hbh; in ip6_hopopts_input() local
954 if (m->m_len < off + sizeof(*hbh)) { in ip6_hopopts_input()
955 m = m_pullup(m, off + sizeof(*hbh)); in ip6_hopopts_input()
962 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
963 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
973 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
976 if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh), in ip6_hopopts_input()
[all …]
H A Dip6_output.c572 * IPv6 hbh dest1 rthdr ah* [esp* dest2 payload]. in ip6_output()
599 * Result: IPv6 hbh dest1 rthdr dest2 payload. in ip6_output()
991 struct ip6_hbh *hbh = mtod(exthdrs.ip6e_hbh, struct ip6_hbh *); in ip6_output() local
996 if ((hbh->ip6h_len + 1) << 3 > exthdrs.ip6e_hbh->m_len) in ip6_output()
1007 if (ip6_process_hopopts(m, (u_int8_t *)(hbh + 1), in ip6_output()
1008 ((hbh->ip6h_len + 1) << 3) - sizeof(struct ip6_hbh), in ip6_output()
1352 struct ip6_hbh *hbh; in ip6_insert_jumboopt() local
1366 * XXX: give up if the whole (new) hbh header does in ip6_insert_jumboopt()
1396 hbh = mtod(mopt, struct ip6_hbh *); in ip6_insert_jumboopt()
1397 hbh in ip6_insert_jumboopt()
3072 struct ip6_hbh *hbh; ip6_setpktopt() local
[all...]
H A Dmld6.c253 struct ip6_hbh hbh; member
262 .hbh = { 0, 0 },
3264 mld_po.ip6po_hbh = &mld_ra.hbh; in mld_init()
/freebsd/tests/sys/netinet6/
H A Dexthdr.sh85 --hbh
105 --hbh --dest
H A Dexthdr.py107 if args.hbh:
108 hbh = sp.IPv6ExtHdrHopByHop(options = \
110 ext = addExt(ext, hbh)
/freebsd/sys/netpfil/ipfw/nptv6/
H A Dnptv6.c114 struct ip6_hbh *hbh; in nptv6_getlasthdr() local
125 hbh = mtodo(m, hlen); in nptv6_getlasthdr()
128 proto = hbh->ip6h_nxt; in nptv6_getlasthdr()
129 hlen += (hbh->ip6h_len + 1) << 3; in nptv6_getlasthdr()
/freebsd/contrib/tcpdump/
H A Dprint-icmp6.c1323 const struct ip6_hbh *hbh; in get_upperlayer() local
1355 hbh = (const struct ip6_hbh *)bp; in get_upperlayer()
1356 if (!ND_TTEST_1(hbh->ip6h_len)) in get_upperlayer()
1358 nh = GET_U_1(hbh->ip6h_nxt); in get_upperlayer()
1359 hlen = (GET_U_1(hbh->ip6h_len) + 1) << 3; in get_upperlayer()
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c1184 struct ip6_hbh *hbh; in nat64_getlasthdr() local
1201 hbh = mtodo(m, hlen); in nat64_getlasthdr()
1214 proto = hbh->ip6h_nxt; in nat64_getlasthdr()
1215 hlen += (hbh->ip6h_len + 1) << 3; in nat64_getlasthdr()