Namespace inet
TransportPseudoHeader
classRepresents a TCP/UDP pseudo header, used for crc calculation.
Extends
Name | Type | Description |
---|---|---|
FieldsChunk | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
srcAddress | L3Address | |
destAddress | L3Address | |
networkProtocolId | int |
inet specific value, Protocol::getId() |
protocolId | int |
TCP: 6, UDP: 17 |
packetLength | B |
Source code
// // Represents a TCP/UDP pseudo header, used for crc calculation. // class TransportPseudoHeader extends FieldsChunk { L3Address srcAddress; L3Address destAddress; int networkProtocolId; // inet specific value, Protocol::getId() int protocolId = -1; // TCP: 6, UDP: 17 B packetLength = B(-1); }File: src/inet/transportlayer/common/TransportPseudoHeader.msg