![]() |
Max OS 0.3
|
Implementation of Transmission Control Protocol (TCP) classes and handlers. More...
Go to the source code of this file.
Functions | |
| uint32_t | big_endian_32 (uint32_t x) |
| Convert a 32-bit integer to big-endian format. | |
| uint32_t | big_endian_16 (uint16_t x) |
| Convert a 16-bit integer to big-endian format. | |
Implementation of Transmission Control Protocol (TCP) classes and handlers.
Definition in file tcp.cpp.
Convert a 16-bit integer to big-endian format.
| x | The 16-bit integer to convert |
Definition at line 187 of file tcp.cpp.
Referenced by MaxOS::net::TransmissionControlProtocolHandler::handle_internet_protocol_payload(), and MaxOS::net::TransmissionControlProtocolHandler::send_transmission_control_protocol_packet().
Convert a 32-bit integer to big-endian format.
| x | The 32-bit integer to convert |
Definition at line 174 of file tcp.cpp.
Referenced by MaxOS::net::TransmissionControlProtocolHandler::handle_internet_protocol_payload(), and MaxOS::net::TransmissionControlProtocolHandler::send_transmission_control_protocol_packet().