This is a low-level network debugging utility that utilizes raw packet i/o to construct and deconstruct tcp, udp, ipv4, arp, and icmp packets over ethernet.
tcp.h File Reference
TCP segment header. More...
Go to the source code of this file.
Data Structures | |
struct | TCP_SegmentHeader |
TCP Segment memory map. More... | |
Functions | |
void | fix_endian_tcp (TCP_SegmentHeader *segment) |
Convert from wire to host or host to wire endianness. | |
void | print_tcp (TCP_SegmentHeader *segment) |
Print the TCP segment header. | |
u16 | pseudo_header_checksum (IP_Address source, IP_Address destination, u16 length) |
Compute the pseudo header checksum with the given source, destination, and length. |
Detailed Description
TCP segment header.
This file contains the memory map and associated functions for TCP segment header creation and deconstruction.
Definition in file tcp.h.
Function Documentation
void fix_endian_tcp | ( | TCP_SegmentHeader * | segment ) |
void print_tcp | ( | TCP_SegmentHeader * | segment ) |
u16 pseudo_header_checksum | ( | IP_Address | source, |
IP_Address | destination, | ||
u16 | length | ||
) |
Generated on Tue Jul 12 2022 11:59:40 by 1.7.2