extracting TCP header Home › Forums › Discussions › Support › extracting TCP header This topic has 1 reply, 2 voices, and was last updated 18 years, 11 months ago by Vadim Smirnov. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts December 24, 2005 at 8:58 pm #4969 dalginParticipant how can I extract TCP header? what is the offset in the buffer for the tcp header? December 25, 2005 at 12:23 pm #5867 Vadim SmirnovKeymaster pIpHeader = (iphdr_ptr)(pPacketBuffer->m_IBuffer + ETHER_HEADER_LENGTH); pTcpHeader = (tcphdr_ptr)(((PUCHAR)pIpHeader) + sizeof(DWORD)*pIpHeader->ip_hl); Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In