SocketMsg Struct Reference
Message and ancillary data. More...
#include <socket.h>
Data Fields | |
void * | data |
Pointer to the payload. More... | |
size_t | size |
Size of the payload, in bytes. More... | |
size_t | length |
Actual length of the payload, in bytes. More... | |
uint8_t | ttl |
Time-to-live value. More... | |
uint8_t | tos |
Type-of-service value. More... | |
bool_t | dontFrag |
Do not fragment the IP packet. More... | |
NetInterface * | interface |
Underlying network interface. More... | |
IpAddr | srcIpAddr |
Source IP address. More... | |
uint16_t | srcPort |
Source port. More... | |
IpAddr | destIpAddr |
Destination IP address. More... | |
uint16_t | destPort |
Destination port. More... | |
MacAddr | srcMacAddr |
Source MAC address. More... | |
MacAddr | destMacAddr |
Destination MAC address. More... | |
uint16_t | ethType |
Ethernet type field. More... | |
uint8_t | switchPort |
Switch port identifier. More... | |
int32_t | timestampId |
Unique identifier for hardware time stamping. More... | |
NetTimestamp | timestamp |
Captured time stamp. More... | |
Detailed Description
Field Documentation
◆ data
◆ destIpAddr
◆ destMacAddr
◆ destPort
◆ dontFrag
◆ ethType
◆ interface
NetInterface* interface |
◆ length
◆ size
◆ srcIpAddr
◆ srcMacAddr
◆ srcPort
◆ switchPort
◆ timestamp
NetTimestamp timestamp |
◆ timestampId
int32_t timestampId |
◆ tos
◆ ttl
The documentation for this struct was generated from the following file:
- cyclone_tcp/core/socket.h