Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __INET_ICLASSIFIER_H
00016 #define __INET_ICLASSIFIER_H
00017
00018 #include <omnetpp.h>
00019
00020 #include "IPDatagram.h"
00021 #include "LIBTable.h"
00022
00033 class INET_API IClassifier
00034 {
00035 public:
00036 virtual ~IClassifier() {}
00037
00049 virtual bool lookupLabel(IPDatagram *ipdatagram, LabelOpVector& outLabel, std::string& outInterface, int& color) = 0;
00050 };
00051
00052 #endif