Home
last modified time | relevance | path

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

/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c910 struct ip6_hdr *eip6; in nat64_icmp_translate() local
1106 eip6->ip6_src = ip6->ip6_dst; in nat64_icmp_translate()
1109 eip6->ip6_dst = ip6->ip6_src; in nat64_icmp_translate()
1113 eip6->ip6_flow = htonl(ip.ip_tos << 20); in nat64_icmp_translate()
1114 eip6->ip6_vfc |= IPV6_VERSION; in nat64_icmp_translate()
1115 eip6->ip6_hlim = ip.ip_ttl; in nat64_icmp_translate()
1127 tcp = TCP(eip6 + 1); in nat64_icmp_translate()
1134 ~nat64_cksum_convert(eip6, &ip)); in nat64_icmp_translate()
1139 udp = UDP(eip6 + 1); in nat64_icmp_translate()
1146 ~nat64_cksum_convert(eip6, &ip)); in nat64_icmp_translate()
[all …]
/f-stack/freebsd/netinet6/
H A Dip6_mroute.c1792 struct ip6_hdr *eip6; in pim6_input() local
1826 eip6 = (struct ip6_hdr *) (reghdr + 1); in pim6_input()
1828 ip6_sprintf(ip6bufs, &eip6->ip6_src), in pim6_input()
1829 ip6_sprintf(ip6bufd, &eip6->ip6_dst), in pim6_input()
1830 ntohs(eip6->ip6_plen)); in pim6_input()
1833 if ((eip6->ip6_vfc & IPV6_VERSION_MASK) != IPV6_VERSION) { in pim6_input()
1837 (eip6->ip6_vfc & IPV6_VERSION)); in pim6_input()
1843 if (!IN6_IS_ADDR_MULTICAST(&eip6->ip6_dst)) { in pim6_input()
1847 ip6_sprintf(ip6bufd, &eip6->ip6_dst)); in pim6_input()
1869 ip6_sprintf(ip6bufs, &eip6->ip6_src), in pim6_input()
[all …]
H A Dicmp6.c899 struct ip6_hdr *eip6; in icmp6_notify_error() local
919 eip6 = (struct ip6_hdr *)(icmp6 + 1); in icmp6_notify_error()
925 u_int8_t nxt = eip6->ip6_nxt; in icmp6_notify_error()
1058 eip6 = (struct ip6_hdr *)(icmp6 + 1); in icmp6_notify_error()
1063 icmp6dst.sin6_addr = eip6->ip6_dst; in icmp6_notify_error()
1069 icmp6src.sin6_addr = eip6->ip6_src; in icmp6_notify_error()
1073 (eip6->ip6_flow & IPV6_FLOWLABEL_MASK); in icmp6_notify_error()