Compound Module BSDRouter

File: src/tcpipmodel/BSDRouter.ned

Represents a router with a BSD network stack.

bsdstack: BSDStack

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.

BSDRouter BSDStack

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.

BSDStack

Encapsulates the BSD TCP/IP stack.

Gates:

Name Direction Description
out [ ] output
in [ ] input

Unassigned submodule parameters:

Name Type Description
bsdstack.route string
bsdstack.ip string
bsdstack.bsd_tcprexmtthresh string
bsdstack.bsd_log_in_vain string
bsdstack.bsd_blackhole string
bsdstack.bsd_tcp_delack_enabled string
bsdstack.bsd_drop_synfin string
bsdstack.bsd_tcp_do_rfc3042 string
bsdstack.bsd_tcp_do_rfc3390 string
bsdstack.bsd_path_mtu_discovery string
bsdstack.bsd_tcp_do_rfc1323 string
bsdstack.bsd_tcp_do_rfc1644 string
bsdstack.bsd_ss_fltsz string
bsdstack.bsd_ss_fltsz_local string
bsdstack.bsd_tcp_do_newreno string
bsdstack.bsd_ipforwarding string
bsdstack.bsd_ipsendredirects string
bsdstack.startup numeric
bsdstack.showtraffic numeric
bsdstack.drop_packet_on_biterror bool

Source code:

module BSDRouter
    gates:
        out: out[];
        in: in[];
    submodules:
        bsdstack: BSDStack;
            gatesizes:
                out[sizeof(out)],
                in[sizeof(in)];
            display: "p=83,72;i=block/layer";
    connections nocheck:
        for i=0..sizeof(out)-1 do
            in[i] --> bsdstack.in[i] display "m=s";
            out[i] <-- bsdstack.out[i] display "m=s";
        endfor;
endmodule