TcpLwip
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 information.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| SimpleModule | simple module |
Base module for all INET simple modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| sendQueueClass | string | "" | |
| receiveQueueClass | string | "" | |
| checksumMode | string | "declared" |
Properties
| Name | Value | Description |
|---|---|---|
| class | TcpLwip | |
| display | i=block/wheelbarrow |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| appIn | input | ||
| ipIn | input | ||
| appOut | output | ||
| ipOut | output |
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 information. // simple TcpLwip extends SimpleModule like ITcp { parameters: @class(TcpLwip); string sendQueueClass = default(""); //# TODO Obsolete!!! string receiveQueueClass = default(""); //# TODO Obsolete!!! string checksumMode @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