VLANs(802.1Q)forOMNet++  0.5Beta
_mac_llid Struct Reference

Bonds a MAC address with a logical link ID (or VLAN). More...

#include <MACVlanRelayUnitBase.h>

List of all members.

Public Member Functions

bool operator== (struct _mac_llid ml) const

Public Attributes

MACAddress mac
int llid

Friends

std::ostream & operator<< (std::ostream &out, const struct _mac_llid &ml)

Detailed Description

Bonds a MAC address with a logical link ID (or VLAN).


Member Function Documentation

bool _mac_llid::operator== ( struct _mac_llid  ml) const [inline]
                                                    {
                return (mac == ml.mac && llid == ml.llid);
        }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const struct _mac_llid ml 
) [friend]
                                                                                     {
                out<<"MAC: "<<ml.mac<<"  LLID: "<<ml.llid;
                return out;
        }

Member Data Documentation

MACAddress _mac_llid::mac

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines