Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __INET_UTILS_H
00016 #define __INET_UTILS_H
00017
00018 #include <vector>
00019 #include <omnetpp.h>
00020 #include "IntServ.h"
00021
00025 void removeDuplicates(std::vector<int>& vec);
00026
00030 bool find(std::vector<int>& vec, int value);
00031
00035 bool find(const IPAddressVector& vec, IPAddress addr);
00036
00040 void append(std::vector<int>& dest, const std::vector<int>& src);
00041
00045 int find(const EroVector& ERO, IPAddress node);
00046
00050 cModule *getPayloadOwner(cPacket *msg);
00051
00052
00053
00054
00055 #endif