Compound Module PPPInterface

File: NetworkInterfaces/PPP/PPPInterface.ned

(no description)

queue: queueType like OutputQueue ppp: PPP

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

Contains the following modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

OutputQueue

Prototype for per-NIC output queues. Concrete queues can implement drop-tail, RED etc. policy.

PPP

PPP implementation.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

TCPSpoofingHost

IP host with TCPSpoof in the application layer.

BurstHost

Definition of an IP node with a transport generator that connects to IP directly, without TCP or UDP.

StandardHost

IP host with TCP, UDP layers and applications.

Router

IP router.

QuaggaRouter

Quagga-based IP router.

OSPFRouter

IP router.

StandardHost6

IPv6 host with TCP, UDP layers and applications.

Router6

IPv6 router.

RSVP_LSR

An RSVP-TE capable router.

LDP_LSR

An LDP-capable router.

WirelessHostSimplified

Models a host with one wireless (802.11b) card in infrastructure mode, but using a simplified NIC that does not support handovers. This module is basically a StandardHost with an Ieee80211NicSTASimplified added. It should be used in conjunction with WirelessAPSimplified, or any other AP model which contains Ieee80211NicAPSimplified.

WirelessHost

Models a host with one wireless (802.11b) card in infrastructure mode. This module is basically a StandardHost with an Ieee80211NicSTA added. It should be used in conjunction with WirelessAP, or any other AP model which contains Ieee80211NicAP.

RTPHost (no description)

Parameters:

Name Type Description
queueType string

Gates:

Name Direction Description
physIn input
physOut output
netwIn input
netwOut output

Unassigned submodule parameters:

Name Type Description

Source code:

module PPPInterface
    parameters:
        queueType: string;
    gates:
        in: physIn;
        out: physOut;
        in: netwIn;
        out: netwOut;
    submodules:
        queue: queueType like OutputQueue;
            display: "i=block/queue;p=60,85;q=l2queue";
        ppp: PPP;
            parameters:
                queueModule = "queue",
                txQueueLimit = 1; // queue sends one packet at a time
            display: "i=block/rxtx;p=88,165";
    connections:
        netwIn --> queue.in display "m=n";
        queue.out --> ppp.netwIn;
        netwOut <-- ppp.netwOut display "m=n";
        physIn --> ppp.physIn display "m=s";
        physOut <-- ppp.physOut display "m=s";
endmodule