Searched refs:tcpHeader (Results 1 – 1 of 1) sorted by relevance
303 const tcphdr* const tcpHeader = reinterpret_cast<tcphdr*>(tcpPacket.base()); in validateTcpPacket() local304 if (tcpHeader->doff < 5) { in validateTcpPacket()307 if (tcpHeader->doff * 4 > tcpPacket.size()) { in validateTcpPacket()308 return Error() << "TCP header length set too large: " << tcpHeader->doff; in validateTcpPacket()411 tcphdr* tcpHeader = reinterpret_cast<tcphdr*>(tcpPacket.base()); in translateTcpPacket() local412 tcpHeader->check = ip_checksum_adjust(tcpHeader->check, oldPseudoSum, newPseudoSum); in translateTcpPacket()