test icmp
Fork of ethspam by
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 Fri Jul 15 2022 02:45:18 by
1.7.2
