"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/piglet_plugins/pp_codec_data_iface.cc" 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.

pp_codec_data_iface.cc  (snort3-3.1.28.0):pp_codec_data_iface.cc  (snort3-3.1.29.0)
skipping to change at line 47 skipping to change at line 47
table.get_field("lyr_len", self.lyr_len); table.get_field("lyr_len", self.lyr_len);
table.get_field("invalid_bytes", self.invalid_bytes); table.get_field("invalid_bytes", self.invalid_bytes);
table.get_field("proto_bits", self.proto_bits); table.get_field("proto_bits", self.proto_bits);
table.get_field("codec_flags", self.codec_flags); table.get_field("codec_flags", self.codec_flags);
table.get_field("ip_layer_cnt", self.ip_layer_cnt); table.get_field("ip_layer_cnt", self.ip_layer_cnt);
table.get_field("ip6_extension_count", self.ip6_extension_count); table.get_field("ip6_extension_count", self.ip6_extension_count);
table.get_field("curr_ip6_extension", self.curr_ip6_extension); table.get_field("curr_ip6_extension", self.curr_ip6_extension);
table.get_field("ip6_csum_proto", reinterpret_cast<uint8_t&>(self.ip6_csum_p roto)); table.get_field("ip6_csum_proto", reinterpret_cast<uint8_t&>(self.ip6_csum_p roto));
} }
static void get_fields(lua_State* L, int tindex, CodecData& self) static void get_fields(lua_State* L, int tindex, const CodecData& self)
{ {
Lua::Table table(L, tindex); Lua::Table table(L, tindex);
table.set_field("next_prot_id", static_cast<uint16_t>(self.next_prot_id)); table.set_field("next_prot_id", static_cast<uint16_t>(self.next_prot_id));
table.set_field("lyr_len", self.lyr_len); table.set_field("lyr_len", self.lyr_len);
table.set_field("invalid_bytes", self.invalid_bytes); table.set_field("invalid_bytes", self.invalid_bytes);
table.set_field("proto_bits", self.proto_bits); table.set_field("proto_bits", self.proto_bits);
table.set_field("codec_flags", self.codec_flags); table.set_field("codec_flags", self.codec_flags);
table.set_field("ip_layer_cnt", self.ip_layer_cnt); table.set_field("ip_layer_cnt", self.ip_layer_cnt);
table.set_field("ip6_extension_count", self.ip6_extension_count); table.set_field("ip6_extension_count", self.ip6_extension_count);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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