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()
963 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
1401 struct ip6_hbh *hbh; in ip6_savecontrol() local
1404 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_savecontrol()
1405 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_savecontrol()
[all …]
H A Dip6_output.c991 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
1396 hbh = mtod(mopt, struct ip6_hbh *); in ip6_insert_jumboopt()
1397 hbh->ip6h_len += (JUMBOOPTLEN >> 3); in ip6_insert_jumboopt()
3072 struct ip6_hbh *hbh; in ip6_setpktopt() local
3094 hbh = (struct ip6_hbh *)buf; in ip6_setpktopt()
3095 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt()
[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.c1324 const struct ip6_hbh *hbh; in get_upperlayer() local
1357 hbh = (const struct ip6_hbh *)bp; in get_upperlayer()
1358 if (!ND_TTEST_1(hbh->ip6h_len)) in get_upperlayer()
1360 nh = GET_U_1(hbh->ip6h_nxt); in get_upperlayer()
1361 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()