INET Framework for OMNeT++/OMNEST
ansaSwitchCore.h File Reference
#include <omnetpp.h>
#include <map>
#include <string>
#include "NotificationBoard.h"
#include "MACAddress.h"
#include "Ethernet.h"
#include "EtherFrame_m.h"
#include "AnsaEtherFrame_m.h"
#include "macTable.h"
#include "vlanTable.h"
#include "stp/stp.h"

Go to the source code of this file.

Classes

class  ANSASwitchCore
struct  ANSASwitchCore::s_frame_descriptor

Functions

std::ostream & operator<< (std::ostream &os, const ANSASwitchCore::tFrameDescriptor f)

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const ANSASwitchCore::tFrameDescriptor  f 
) [inline]

Definition at line 99 of file ansaSwitchCore.h.

                                                                                      {
        os << "---FRAME DESCRIPTOR---" << std::endl;

        os << " Name: " << f.name << std::endl;
        os << "  Src: " << f.src << std::endl;
        os << " Dest: " << f.dest << std::endl;
        os << "  VID: " << f.VID << std::endl;
        os << "rPort: " << f.rPort << std::endl;
        os << "pList: " << f.portList << std::endl;
        os << "eType: " << f.etherType << std::endl;
        os << "pLoad: " << f.payload << std::endl;

        os << "---END OF DESCRIPTOR---" << std::endl;
        return os;
}