Lines Matching refs:base
38 using android::base::Error;
39 using android::base::Result;
40 using android::base::unique_fd;
225 const tun_pi* const tunHeader = reinterpret_cast<tun_pi*>(tunPacket.base()); in validatePacket()
245 const iphdr* const ipHeader = reinterpret_cast<iphdr*>(ipv4Packet.base()); in validateIpv4Packet()
275 const ip6_hdr* const ipv6Header = reinterpret_cast<ip6_hdr*>(ipv6Packet.base()); in validateIpv6Packet()
303 const tcphdr* const tcpHeader = reinterpret_cast<tcphdr*>(tcpPacket.base()); in validateTcpPacket()
314 const tun_pi* const tunHeader = reinterpret_cast<tun_pi*>(tunPacket.base()); in translatePacket()
327 iphdr* ipHeader = reinterpret_cast<iphdr*>(ipv4Packet.base()); in translateIpv4Packet()
361 ip6_hdr* ipv6Header = reinterpret_cast<ip6_hdr*>(ipv6Packet.base()); in translateIpv6Packet()
394 udphdr* udpHeader = reinterpret_cast<udphdr*>(udpPacket.base()); in translateUdpPacket()
398 uint32_t tmp = ip_checksum_add(newPseudoSum, udpPacket.base(), udpPacket.size()); in translateUdpPacket()
411 tcphdr* tcpHeader = reinterpret_cast<tcphdr*>(tcpPacket.base()); in translateTcpPacket()