udpsinfo_t Structure
The udpinfo_t structure is a DTrace translated version of the UDP header.
typedef struct udpinfo {
uint16_t udp_sport; /* source port */
uint16_t udp_dport; /* destination port */
uint16_t udp_length; /* total length */
uint16_t udp_checksum; /* headers + data checksum */
udpha_t *udp_hdr; /* raw UDP header */
} udpinfo_t;Table 11-77 udpinfo_t Members
| Member | Description |
|---|---|
|
|
UDP source port. |
|
|
UDP destination port. |
|
|
Payload length in bytes. |
|
|
Checksum of UDP header and payload. |
|
|
Pointer to raw UDP header at time of tracing. |
See RFC 768 for a detailed explanation of the standard UDP header fields and flags.