Searched refs:tunHeader (Results 1 – 1 of 1) sorted by relevance
225 const tun_pi* const tunHeader = reinterpret_cast<tun_pi*>(tunPacket.base()); in validatePacket() local226 if (tunHeader->flags != 0) { in validatePacket()227 return Error() << "Unexpected tun flags " << static_cast<int>(tunHeader->flags); in validatePacket()230 switch (uint16_t proto = ntohs(tunHeader->proto); proto) { in validatePacket()314 const tun_pi* const tunHeader = reinterpret_cast<tun_pi*>(tunPacket.base()); in translatePacket() local315 switch (uint16_t proto = ntohs(tunHeader->proto); proto) { in translatePacket()