Ieee8021qSocketTable.ned

NED File src/inet/linklayer/ieee8021q/Ieee8021qSocketTable.ned

Name Type Description
Ieee8021qSocketTable simple module

Maintains a table of IEEE 802.1Q VLAN sockets. Each socket entry contains a socket ID, protocol, VLAN ID, and a flag indicating whether to steal packets. The module provides functionality to add, remove, and find sockets based on protocol and VLAN ID criteria. It enables applications to communicate through specific VLANs by associating sockets with VLAN tags, facilitating the routing of packets to the appropriate protocol handlers.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.linklayer.ieee8021q;

import inet.common.SimpleModule;

//
// Maintains a table of IEEE 802.1Q VLAN sockets. Each socket entry contains a
// socket ID, protocol, VLAN ID, and a flag indicating whether to steal packets.
// The module provides functionality to add, remove, and find sockets based on
// protocol and VLAN ID criteria. It enables applications to communicate through
// specific VLANs by associating sockets with VLAN tags, facilitating the
// routing of packets to the appropriate protocol handlers.
//
// @see Ieee8021qSocketCommandProcessor, Ieee8021qSocketPacketProcessor
//
simple Ieee8021qSocketTable extends SimpleModule
{
    parameters:
        @class(Ieee8021qSocketTable);
        @display("i=block/table");
}