"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http2_inspect/http2_stream.h" 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_stream.h  (snort3-3.1.36.0):http2_stream.h  (snort3-3.1.38.0)
skipping to change at line 41 skipping to change at line 41
class HttpFlowData; class HttpFlowData;
class HttpMsgSection; class HttpMsgSection;
class Http2Stream class Http2Stream
{ {
public: public:
Http2Stream(uint32_t stream_id, Http2FlowData* session_data_); Http2Stream(uint32_t stream_id, Http2FlowData* session_data_);
~Http2Stream(); ~Http2Stream();
uint32_t get_stream_id() const { return stream_id; } uint32_t get_stream_id() const { return stream_id; }
void eval_frame(const uint8_t* header_buffer, uint32_t header_len, const uin t8_t* data_buffer, void eval_frame(const uint8_t* header_buffer, uint32_t header_len, const uin t8_t* data_buffer,
uint32_t data_len, HttpCommon::SourceId source_id); uint32_t data_len, HttpCommon::SourceId source_id, snort::Packet* p);
void check_and_cleanup_completed(); void check_and_cleanup_completed();
void clear_frame(); void clear_frame(snort::Packet* p);
const Field& get_buf(unsigned id); const Field& get_buf(unsigned id);
HttpFlowData* get_hi_flow_data() const { return hi_flow_data; } HttpFlowData* get_hi_flow_data() const { return hi_flow_data; }
void set_hi_flow_data(HttpFlowData* flow_data); void set_hi_flow_data(HttpFlowData* flow_data);
uint32_t get_xtradata_mask() { return (current_frame != nullptr) ?
current_frame->get_xtradata_mask() : 0; }
Http2Frame *get_current_frame() { return current_frame; } Http2Frame *get_current_frame() { return current_frame; }
void set_state(HttpCommon::SourceId source_id, Http2Enums::StreamState new_s tate); void set_state(HttpCommon::SourceId source_id, Http2Enums::StreamState new_s tate);
Http2Enums::StreamState get_state(HttpCommon::SourceId source_id) const Http2Enums::StreamState get_state(HttpCommon::SourceId source_id) const
{ return state[source_id]; } { return state[source_id]; }
bool is_open(HttpCommon::SourceId source_id); bool is_open(HttpCommon::SourceId source_id);
void set_end_stream_on_data_flush(HttpCommon::SourceId source_id) void set_end_stream_on_data_flush(HttpCommon::SourceId source_id)
{ end_stream_on_data_flush[source_id] = true; } { end_stream_on_data_flush[source_id] = true; }
bool is_end_stream_on_data_flush(HttpCommon::SourceId source_id) bool is_end_stream_on_data_flush(HttpCommon::SourceId source_id)
{ return end_stream_on_data_flush[source_id]; } { return end_stream_on_data_flush[source_id]; }
 End of changes. 3 change blocks. 
4 lines changed or deleted 2 lines changed or added

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