Searched refs:ip6i (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64clat.c153 struct ip6_hdr *ip6i; local
191 ip6i = mtodo(m, hlen);
192 daddr = nat64_extract_ip4(&ip6i->ip6_dst, cfg->base.clat_plen);
H A Dnat64stl.c153 struct ip6_hdr *ip6i; local
191 ip6i = mtodo(m, hlen);
193 sizeof(struct in6_addr), &ip6i->ip6_dst, &tablearg) == 0) {
H A Dnat64_translate.c1289 struct ip6_hdr *ip6, *ip6i; local
1446 ip6i = mtodo(m, hlen);
1448 proto = ip6i->ip6_nxt;
1449 plen = ntohs(ip6i->ip6_plen);
1468 if (nat64_check_ip6(&ip6i->ip6_src) != 0 ||
1469 nat64_check_ip6(&ip6i->ip6_dst) != 0) {
1474 if (!IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6i->ip6_src)) {
1481 ip.ip_src.s_addr = nat64_extract_ip4(&ip6i->ip6_src, cfg->plat_plen);
1486 ip6i->ip6_hlim += IPV6_HLIMDEC;
1487 nat64_init_ip4hdr(ip6i, ip6
[all...]

Completed in 56 milliseconds