Home
last modified time | relevance | path

Searched refs:eip6 (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c905 struct ip6_hdr *eip6; in nat64_icmp_translate() local
1101 eip6->ip6_src = ip6->ip6_dst; in nat64_icmp_translate()
1104 eip6->ip6_dst = ip6->ip6_src; in nat64_icmp_translate()
1108 eip6->ip6_flow = htonl(ip.ip_tos << 20); in nat64_icmp_translate()
1109 eip6->ip6_vfc |= IPV6_VERSION; in nat64_icmp_translate()
1110 eip6->ip6_hlim = ip.ip_ttl; in nat64_icmp_translate()
1122 tcp = TCP(eip6 + 1); in nat64_icmp_translate()
1129 ~nat64_cksum_convert(eip6, &ip)); in nat64_icmp_translate()
1134 udp = UDP(eip6 + 1); in nat64_icmp_translate()
1141 ~nat64_cksum_convert(eip6, &ip)); in nat64_icmp_translate()
[all …]
/freebsd/sys/netinet6/
H A Dip6_mroute.c1785 struct ip6_hdr *eip6; in pim6_input() local
1818 eip6 = (struct ip6_hdr *) (reghdr + 1); in pim6_input()
1820 ip6_sprintf(ip6bufs, &eip6->ip6_src), in pim6_input()
1821 ip6_sprintf(ip6bufd, &eip6->ip6_dst), in pim6_input()
1822 ntohs(eip6->ip6_plen)); in pim6_input()
1825 if ((eip6->ip6_vfc & IPV6_VERSION_MASK) != IPV6_VERSION) { in pim6_input()
1829 (eip6->ip6_vfc & IPV6_VERSION)); in pim6_input()
1835 if (!IN6_IS_ADDR_MULTICAST(&eip6->ip6_dst)) { in pim6_input()
1839 ip6_sprintf(ip6bufd, &eip6->ip6_dst)); in pim6_input()
1861 ip6_sprintf(ip6bufs, &eip6->ip6_src), in pim6_input()
[all …]
H A Dicmp6.c921 struct ip6_hdr *eip6; in icmp6_notify_error() local
941 eip6 = (struct ip6_hdr *)(icmp6 + 1); in icmp6_notify_error()
946 u_int8_t nxt = eip6->ip6_nxt; in icmp6_notify_error()
1079 eip6 = (struct ip6_hdr *)(icmp6 + 1); in icmp6_notify_error()
1085 if (IN6_IS_ADDR_UNSPECIFIED(&eip6->ip6_src) || in icmp6_notify_error()
1086 IN6_IS_ADDR_UNSPECIFIED(&eip6->ip6_dst)) in icmp6_notify_error()
1092 icmp6dst.sin6_addr = eip6->ip6_dst; in icmp6_notify_error()
1098 icmp6src.sin6_addr = eip6->ip6_src; in icmp6_notify_error()
1102 (eip6->ip6_flow & IPV6_FLOWLABEL_MASK); in icmp6_notify_error()