Namespace inet
UDPErrorIndication
classControl info that is sent up from the UDP module to the application with UDP_I_ERROR as message kind when UDP receives an ICMP error for a packet previously sent from the socket.
See also: UDPCommandCode
Extends
| Name | Type | Description |
|---|---|---|
| UDPControlInfo | (unknown -- not in documented files) |
Fields
| Name | Type | Description |
|---|---|---|
| srcAddr | L3Address |
source IPv4 or IPv6 address of the undeliverable packet |
| destAddr | L3Address |
destination IPv4 or IPv6 address of the undeliverable packet |
| srcPort | int |
source port of the undeliverable packet |
| destPort | int |
destination port of the undeliverable packet |
Source code
// // Control info that is sent up from the ~UDP module to the application with // UDP_I_ERROR as message kind when ~UDP receives an ICMP error for a packet // previously sent from the socket. // // @see ~UDPCommandCode // class UDPErrorIndication extends UDPControlInfo { L3Address srcAddr; // source IPv4 or IPv6 address of the undeliverable packet L3Address destAddr; // destination IPv4 or IPv6 address of the undeliverable packet int srcPort; // source port of the undeliverable packet int destPort; // destination port of the undeliverable packet }File: src/inet/transportlayer/contract/udp/UDPControlInfo.msg