ExtLowerIpv4

Package: inet.emulation.networklayer.ipv4

ExtLowerIpv4

compound module

(no description)

encap : Ipv4Encap

Source:
encap: Ipv4Encap {
    parameters:
        @display("p=100,50");
} socket : ExtIpv4Socket

This module provides a bidirectional connection to an IPv4 socket of the host computer which is...

Source:
socket: ExtIpv4Socket {
    parameters:
        @display("p=100,150");
}

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Gates

Name Direction Size Description
transportIn input
transportOut output
queueIn input
queueOut output

Unassigned submodule parameters

Name Type Default value Description
socket.namespace string ""
socket.packetName string "Ext-%p-%t-%n"

Source code

module ExtLowerIpv4 like IIpv4
{
    gates:
        input transportIn @labels(Ipv4ControlInfo/down,TcpHeader,UdpHeader,SctpHeader);
        output transportOut @labels(Ipv4ControlInfo/up,TcpHeader,UdpHeader,SctpHeader);
        input queueIn @labels(Ipv4Header,ArpPacket,Ieee802Ctrl);
        output queueOut @labels(Ipv4Header,ArpPacket,Ieee802Ctrl);
    submodules:
        encap: Ipv4Encap {
            parameters:
                @display("p=100,50");
        }
        socket: ExtIpv4Socket {
            parameters:
                @display("p=100,150");
        }
    connections allowunconnected:
        transportIn --> encap.upperLayerIn;
        transportOut <-- encap.upperLayerOut;
        encap.lowerLayerOut --> socket.upperLayerIn;
        encap.lowerLayerIn <-- socket.upperLayerOut;
}
File: src/inet/emulation/networklayer/ipv4/ExtLowerIpv4.ned