"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/network_inspectors/appid/test/appid_mock_definitions.h" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

appid_mock_definitions.h  (snort3-3.1.28.0):appid_mock_definitions.h  (snort3-3.1.29.0)
skipping to change at line 87 skipping to change at line 87
void AppIdDiscovery::register_detector(const string&, AppIdDetector*, IpProtocol ) { } void AppIdDiscovery::register_detector(const string&, AppIdDetector*, IpProtocol ) { }
void AppIdDiscovery::add_pattern_data(AppIdDetector*, snort::SearchTool&, int, u nsigned char const*, unsigned int, unsigned int) { } void AppIdDiscovery::add_pattern_data(AppIdDetector*, snort::SearchTool&, int, u nsigned char const*, unsigned int, unsigned int) { }
void AppIdDiscovery::register_tcp_pattern(AppIdDetector*, unsigned char const*, unsigned int, int, unsigned int) { } void AppIdDiscovery::register_tcp_pattern(AppIdDetector*, unsigned char const*, unsigned int, int, unsigned int) { }
void AppIdDiscovery::register_udp_pattern(AppIdDetector*, unsigned char const*, unsigned int, int, unsigned int) { } void AppIdDiscovery::register_udp_pattern(AppIdDetector*, unsigned char const*, unsigned int, int, unsigned int) { }
int AppIdDiscovery::add_service_port(AppIdDetector*, ServiceDetectorPort const&) { return 0; } int AppIdDiscovery::add_service_port(AppIdDetector*, ServiceDetectorPort const&) { return 0; }
DnsPatternMatchers::~DnsPatternMatchers() = default; DnsPatternMatchers::~DnsPatternMatchers() = default;
EveCaPatternMatchers::~EveCaPatternMatchers() = default; EveCaPatternMatchers::~EveCaPatternMatchers() = default;
HttpPatternMatchers::~HttpPatternMatchers() = default; HttpPatternMatchers::~HttpPatternMatchers() = default;
SipPatternMatchers::~SipPatternMatchers() = default; SipPatternMatchers::~SipPatternMatchers() = default;
SslPatternMatchers::~SslPatternMatchers() = default; SslPatternMatchers::~SslPatternMatchers() = default;
AlpnPatternMatchers::~AlpnPatternMatchers() = default;
void Field::set(int32_t length, const uint8_t* start, bool own_the_buffer_) void Field::set(int32_t length, const uint8_t* start, bool own_the_buffer_)
{ {
strt = start; strt = start;
len = length; len = length;
own_the_buffer = own_the_buffer_; own_the_buffer = own_the_buffer_;
} }
Field global_field; Field global_field;
skipping to change at line 119 skipping to change at line 120
AppInfoTableEntry* AppInfoManager::get_app_info_entry(int) AppInfoTableEntry* AppInfoManager::get_app_info_entry(int)
{ {
return nullptr; return nullptr;
} }
bool AppInfoManager::configured() bool AppInfoManager::configured()
{ return false; } { return false; }
// Stubs for service_state.h // Stubs for service_state.h
ServiceDiscoveryState* AppIdServiceState::get(SfIp const*, IpProtocol, ServiceDiscoveryState* AppIdServiceState::get(SfIp const*, IpProtocol,
unsigned short, int16_t, uint16_t, bool, bool) unsigned short, int16_t, uint32_t, bool, bool)
{ {
return nullptr; return nullptr;
} }
ServiceDiscoveryState* AppIdServiceState::add(SfIp const*, IpProtocol, ServiceDiscoveryState* AppIdServiceState::add(SfIp const*, IpProtocol,
unsigned short, int16_t, uint16_t, bool, bool) unsigned short, int16_t, uint32_t, bool, bool)
{ {
return nullptr; return nullptr;
} }
bool AppIdServiceState::prune(size_t, size_t) bool AppIdServiceState::prune(size_t, size_t)
{ {
return true; return true;
} }
bool AppIdReloadTuner::tinit() { return false; } bool AppIdReloadTuner::tinit() { return false; }
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)