"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http2_inspect/http2_utils.cc" between
snort3-3.1.36.0.tar.gz and snort3-3.1.38.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.

http2_utils.cc  (snort3-3.1.36.0):http2_utils.cc  (snort3-3.1.38.0)
skipping to change at line 28 skipping to change at line 28
// http2_utils.cc author Maya Dagon <mdagon@cisco.com> // http2_utils.cc author Maya Dagon <mdagon@cisco.com>
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif
#include "http2_utils.h" #include "http2_utils.h"
#include <cassert> #include <cassert>
#include "http2_dummy_packet.h"
#include "http2_enum.h" #include "http2_enum.h"
using namespace Http2Enums; using namespace Http2Enums;
uint32_t get_frame_length(const uint8_t* frame_header_buffer) uint32_t get_frame_length(const uint8_t* frame_header_buffer)
{ {
return (frame_header_buffer[0] << 16) + (frame_header_buffer[1] << 8) + fram e_header_buffer[2]; return (frame_header_buffer[0] << 16) + (frame_header_buffer[1] << 8) + fram e_header_buffer[2];
} }
uint8_t get_frame_type(const uint8_t* frame_header_buffer) uint8_t get_frame_type(const uint8_t* frame_header_buffer)
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

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