Consumes and prints packets received from the IP module. Compatible with both IPv4 and IPv6.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Value | Description |
---|---|---|
display | i=block/sink |
Name | Direction | Size | Description |
---|---|---|---|
ipIn | input | ||
ipv6In | input | ||
ipOut | output | ||
ipv6Out | output |
// // Consumes and prints packets received from the IP module. // Compatible with both IPv4 and IPv6. // simple IPTrafSink like IPTrafficGenerator { @display("i=block/sink"); gates: input ipIn @labels(IPControlInfo/up); input ipv6In @labels(IPv6ControlInfo/up); output ipOut @labels(IPControlInfo/down); output ipv6Out @labels(IPv6ControlInfo/down); }