Compound Module PPPInterface

File: NetworkInterfaces/PPP/PPPInterface.ned

PPP interface. Complements the PPP module with an output queue for QoS and RED support.

See also: PPPInterfaceNoQueue

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.

PPPInterface OutputQueue PPP BurstHost OSPFRouter QuaggaRouter Router StandardHost TCPSpoofingHost Router6 StandardHost6 LDP_LSR RSVP_LSR WirelessHost WirelessHostSimplified RTPHost

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.

BurstHost

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

OSPFRouter

IP router.

QuaggaRouter

Quagga-based IP router.

Router

IP router.

StandardHost

IP host with TCP, UDP layers and applications.

TCPSpoofingHost

IP host with TCPSpoof in the application layer.

Router6

IPv6 router.

StandardHost6

IPv6 host with TCP, UDP layers and applications.

LDP_LSR

An LDP-capable router.

RSVP_LSR

An RSVP-TE capable router.

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.

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.

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