"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http2_inspect/http2_hpack_int_decode.h" between
snort3-3.1.29.0.tar.gz and snort3-3.1.30.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_hpack_int_decode.h  (snort3-3.1.29.0):http2_hpack_int_decode.h  (snort3-3.1.30.0)
skipping to change at line 24 skipping to change at line 24
// You should have received a copy of the GNU General Public License along // You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc., // with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
// http2_hpack_int_decode.h author Maya Dagon <mdagon@cisco.com> // http2_hpack_int_decode.h author Maya Dagon <mdagon@cisco.com>
#ifndef HTTP2_HPACK_INT_DECODE_H #ifndef HTTP2_HPACK_INT_DECODE_H
#define HTTP2_HPACK_INT_DECODE_H #define HTTP2_HPACK_INT_DECODE_H
#include "http2_enum.h" #include "http2_enum.h"
#include "http2_varlen_int_decode.h"
#include "main/snort_types.h" #include "main/snort_types.h"
#include "utils/event_gen.h" #include "utils/event_gen.h"
#include "utils/infractions.h" #include "utils/infractions.h"
using Http2Infractions = Infractions<Http2Enums::INF__MAX_VALUE, Http2Enums::INF __NONE>; using Http2Infractions = Infractions<Http2Enums::INF__MAX_VALUE, Http2Enums::INF __NONE>;
using Http2EventGen = EventGen<Http2Enums::EVENT__MAX_VALUE, Http2Enums::EVENT__ NONE, using Http2EventGen = EventGen<Http2Enums::EVENT__MAX_VALUE, Http2Enums::EVENT__ NONE,
Http2Enums::HTTP2_GID>; Http2Enums::HTTP2_GID>;
class Http2HpackIntDecode using Http2HpackIntDecode = VarLengthIntDecode<Http2EventGen, Http2Infractions>;
{
public:
Http2HpackIntDecode(uint8_t prefix);
bool translate(const uint8_t* in_buff, const uint32_t in_len, uint32_t& byte
s_consumed,
uint64_t& result, Http2EventGen* const events, Http2Infractions* const i
nfractions,
bool partial_header) const;
private:
const uint8_t prefix_mask;
};
#endif #endif
 End of changes. 2 change blocks. 
13 lines changed or deleted 3 lines changed or added

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