diff options
author | (no author) <(no author)@09dcff7a-b715-0410-9601-b79a96267cd0> | 2006-04-11 20:51:39 +0000 |
---|---|---|
committer | (no author) <(no author)@09dcff7a-b715-0410-9601-b79a96267cd0> | 2006-04-11 20:51:39 +0000 |
commit | 5aceeee0352021d6f14a06e30c8dd89cc998822a (patch) | |
tree | e6b23b799690054d4f1bab7a99fb6624457ff15c /orkaudio/audiocaptureplugins/voip/VoIpConfig.h | |
parent | 0feb343edd90b64b15c6ecc2fe24e476843b5cff (diff) |
This commit was manufactured by cvs2svn to create tag 'OREKA-0-5-8'.v0-5-8
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/tags/OREKA-0-5-8@215 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/VoIpConfig.h')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/VoIpConfig.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/VoIpConfig.h b/orkaudio/audiocaptureplugins/voip/VoIpConfig.h index 4a9ce83..5313389 100644 --- a/orkaudio/audiocaptureplugins/voip/VoIpConfig.h +++ b/orkaudio/audiocaptureplugins/voip/VoIpConfig.h @@ -18,6 +18,7 @@ #include "StdString.h" #include "Object.h" #include "boost/shared_ptr.hpp" +#include "PacketHeaderDefs.h" #define DEVICE_PARAM "Device" @@ -36,6 +37,7 @@ public: bool IsPartOfLan(struct in_addr); bool IsMediaGateway(struct in_addr); bool IsDeviceWanted(CStdString device); + bool IsPacketWanted(IpHeaderStruct* ipHeader); CStdString m_device; // old style but can still be used for specifying single device std::list<CStdString> m_devices; // new style devices csv @@ -43,8 +45,17 @@ public: std::list<CStdString> m_asciiMediaGateways; std::list<unsigned int> m_lanMasks; std::list<CStdString> m_asciiLanMasks; + + std::list<CStdString> m_asciiAllowedIpRanges; // CIDR notation + std::list<unsigned int> m_allowedIpRangePrefixes; + std::list<unsigned int> m_allowedIpRangeBitWidths; + std::list<CStdString> m_asciiBlockedIpRanges; // CIDR notation + std::list<unsigned int> m_blockedIpRangePrefixes; + std::list<unsigned int> m_blockedIpRangeBitWidths; + CStdString m_pcapFile; CStdString m_pcapDirectory; + bool m_sipDropIndirectInvite; }; //======================================== |