Lines Matching refs:ipv6Header
275 const ip6_hdr* const ipv6Header = reinterpret_cast<ip6_hdr*>(ipv6Packet.base()); in validateIpv6Packet() local
276 if (mRulesIpv6.find({ipv6Header->ip6_src, ipv6Header->ip6_dst}) == mRulesIpv6.end()) { in validateIpv6Packet()
280 switch (ipv6Header->ip6_nxt) { in validateIpv6Packet()
287 << static_cast<int>(ipv6Header->ip6_nxt); in validateIpv6Packet()
361 ip6_hdr* ipv6Header = reinterpret_cast<ip6_hdr*>(ipv6Packet.base()); in translateIpv6Packet() local
366 ipv6_pseudo_header_checksum(ipv6Header, transport_len, ipv6Header->ip6_nxt); in translateIpv6Packet()
368 if (ipv6Header->ip6_src == from.src && ipv6Header->ip6_dst == from.dst) { in translateIpv6Packet()
369 ipv6Header->ip6_src = to.src; in translateIpv6Packet()
370 ipv6Header->ip6_dst = to.dst; in translateIpv6Packet()
375 ipv6_pseudo_header_checksum(ipv6Header, transport_len, ipv6Header->ip6_nxt); in translateIpv6Packet()
377 switch (ipv6Header->ip6_nxt) { in translateIpv6Packet()
386 << static_cast<int>(ipv6Header->ip6_nxt); in translateIpv6Packet()