Searched refs:eip6 (Results 1 - 3 of 3) sorted by relevance
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 851 struct ip6_hdr *eip6; local 1046 eip6 = mtodo(n, offset + sizeof(struct icmp6_hdr)); 1047 eip6->ip6_src = ip6->ip6_dst; 1050 eip6->ip6_dst = ip6->ip6_src; 1052 nat64_embed_ip4(&eip6->ip6_dst, cfg->plat_plen, ip.ip_dst.s_addr); 1054 eip6->ip6_flow = htonl(ip.ip_tos << 20); 1055 eip6->ip6_vfc |= IPV6_VERSION; 1056 eip6->ip6_hlim = ip.ip_ttl; 1057 eip6->ip6_plen = htons(ntohs(ip.ip_len) - (ip.ip_hl << 2)); 1058 eip6 [all...] |
/freebsd-11-stable/sys/netinet6/ |
H A D | ip6_mroute.c | 1811 struct ip6_hdr *eip6; local 1845 eip6 = (struct ip6_hdr *) (reghdr + 1); 1846 MRT6_DLOG(DEBUG_PIM, "eip6: %s -> %s, eip6 plen %d", 1847 ip6_sprintf(ip6bufs, &eip6->ip6_src), 1848 ip6_sprintf(ip6bufd, &eip6->ip6_dst), 1849 ntohs(eip6->ip6_plen)); 1852 if ((eip6->ip6_vfc & IPV6_VERSION_MASK) != IPV6_VERSION) { 1856 (eip6->ip6_vfc & IPV6_VERSION)); 1862 if (!IN6_IS_ADDR_MULTICAST(&eip6 [all...] |
H A D | icmp6.c | 885 struct ip6_hdr *eip6; local 905 eip6 = (struct ip6_hdr *)(icmp6 + 1); 911 u_int8_t nxt = eip6->ip6_nxt; 1060 eip6 = (struct ip6_hdr *)(icmp6 + 1); 1065 icmp6dst.sin6_addr = eip6->ip6_dst; 1071 icmp6src.sin6_addr = eip6->ip6_src; 1075 (eip6->ip6_flow & IPV6_FLOWLABEL_MASK);
|
Completed in 129 milliseconds