• Home
  • Raw
  • Download

Lines Matching refs:Error

38 using android::base::Error;
73 return Error() << "Failed to make v4pair"; in makePair()
91 return Error() << "Failed to make v6pair"; in makePair()
222 return Error() << "Too short for a tun header"; in validatePacket()
227 return Error() << "Unexpected tun flags " << static_cast<int>(tunHeader->flags); in validatePacket()
236 return Error() << "Unsupported packet type 0x" << std::hex << static_cast<int>(proto); in validatePacket()
242 return Error() << "Too short for an ip header"; in validateIpv4Packet()
247 return Error() << "IP header length set to less than 5"; in validateIpv4Packet()
250 return Error() << "IP header length set too large: " << ipHeader->ihl; in validateIpv4Packet()
253 return Error() << "IP header version not 4: " << ipHeader->version; in validateIpv4Packet()
256 return Error() << "Can't find any v4 rule. Packet hex dump: " << toHex(ipv4Packet, 32); in validateIpv4Packet()
265 return Error() << "Unsupported transport protocol " in validateIpv4Packet()
272 return Error() << "Too short for an ipv6 header"; in validateIpv6Packet()
277 return Error() << "Can't find any v6 rule. Packet hex dump: " << toHex(ipv6Packet, 32); in validateIpv6Packet()
286 return Error() << "Expect TCP/UDP in ipv6 next header: " in validateIpv6Packet()
293 return Error() << "Too short for a udp header"; in validateUdpPacket()
300 return Error() << "Too short for a tcp header"; in validateTcpPacket()
305 return Error() << "TCP header length set to less than 5"; in validateTcpPacket()
308 return Error() << "TCP header length set too large: " << tcpHeader->doff; in validateTcpPacket()
321 return Error() << "translate: Unsupported packet type 0x" << std::hex in translatePacket()
353 return Error() << "translate: Unsupported transport protocol " in translateIpv4Packet()
385 return Error() << "transliate: Expect TCP/UDP in ipv6 next header: " in translateIpv6Packet()