StandardHost6.ned

NED File src/inet/node/ipv6/StandardHost6.ned

Name Type Description
StandardHost6 compound module

An IPv6 host with TCP, UDP, and SCTP transport layer protocols. It extends the standard host model by configuring it to use IPv6 as the network layer protocol while disabling IPv4 by default.

Source code

//
// Copyright (C) 2004 OpenSim Ltd.
// Copyright (C) 2000 Institut fuer Telematik, Universitaet Karlsruhe
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//

package inet.node.ipv6;

import inet.node.inet.StandardHost;

//
// An IPv6 host with TCP, UDP, and SCTP transport layer protocols. It extends the
// standard host model by configuring it to use IPv6 as the network layer protocol
// while disabling IPv4 by default.
//
// @see ~Router6
//
module StandardHost6 extends StandardHost
{
    parameters:
        @display("i=device/pc2");
        xml routes = default(xml("<routingTable/>"));
        ipv6.routingTable.routes = this.routes;
        hasIpv4 = default(false);
        hasIpv6 = default(true);
        *.routingTableModule = "^.ipv6.routingTable";
}