Package: inet.transportlayer.tcp_lwip
TcpLwip
simple moduleTCP model based on the LWIP 1.3.2 project. The original LWIP is available on this page.
See ITcp for general TCP layer informations.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
sendQueueClass | string | "" | |
receiveQueueClass | string | "" | |
crcMode | string | "declared" |
Properties
Name | Value | Description |
---|---|---|
display | i=block/wheelbarrow |
Gates
Name | Direction | Size | Description |
---|---|---|---|
appIn | input | ||
ipIn | input | ||
appOut | output | ||
ipOut | output |
Scheduled messages (observed)
msg | kind | ctrl | tags | msgname | context |
---|---|---|---|---|---|
omnetpp::cMessage | 0 | lwip_fast_timer |
Direct method calls (observed)
call to | function | info |
---|---|---|
MessageDispatcher | inet::MessageDispatcher::arrived | arrived |
MessageDispatcher | inet::MessageDispatcher::handleRegisterProtocol | handleRegisterProtocol |
MessageDispatcher | inet::MessageDispatcher::handleRegisterService | handleRegisterService |
Ipv4 | inet::Ipv4::registerHook | registerHook() |
Incoming messages (observed)
Outgoing messages (observed)
Packet operations (observed)
chunkType | packetAction |
---|---|
peekDataAsBytes, peekDataAt, trimFront | |
BytesChunk | Packet, insertAtBack |
TcpHeader | insertAtFront, peekAtFront, removeAtFront |
Shared Tagging operations (observed)
tagType | tagAction |
---|---|
DispatchProtocolReq | addTag |
InterfaceInd | getTag |
L3AddressInd | getTag |
L3AddressReq | addTag |
PacketProtocolTag | addTagIfAbsent, getTag |
SocketInd | addTag |
SocketReq | getTag |
TransportProtocolInd | addTag, addTagIfAbsent |
Source code
// // TCP model based on the LWIP 1.3.2 project. // The original LWIP is available on // <a href="http://savannah.nongnu.org/projects/lwip/" target="_blank">this page</a>. // // See ~ITcp for general TCP layer informations. // simple TcpLwip like ITcp { parameters: string sendQueueClass = default(""); //# TODO Obsolete!!! string receiveQueueClass = default(""); //# TODO Obsolete!!! string crcMode @enum("declared","computed") = default("declared"); @display("i=block/wheelbarrow"); gates: input appIn @messageKinds(inet::TcpCommandCode); input ipIn; output appOut @messageKinds(inet::TcpStatusInd); output ipOut; }File: src/inet/transportlayer/tcp_lwip/TcpLwip.ned