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.

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.

StandardHost

IP host with TCP, UDP layers and applications.

QuaggaRouter

Quagga-based IP router.

WirelessHost2

Models a host with zero, one or more wireless (802.11b) cards. This module is a variation of WirelessHost.

Router

IP router.

WirelessHost

Models a host with one wireless (802.11b) card. This module is basically a StandardHost with a Nic80211 added.

BurstHost

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

OSPFRouter

IP router.

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.

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