"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/piglet_plugins/pp_daq_pkthdr_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_daq_pkthdr_iface.cc  (snort3-3.1.28.0):pp_daq_pkthdr_iface.cc  (snort3-3.1.29.0)
skipping to change at line 45 skipping to change at line 45
table.get_field("pktlen", self.pktlen); table.get_field("pktlen", self.pktlen);
table.get_field("ingress_index", self.ingress_index); table.get_field("ingress_index", self.ingress_index);
table.get_field("egress_index", self.egress_index); table.get_field("egress_index", self.egress_index);
table.get_field("ingress_group", self.ingress_group); table.get_field("ingress_group", self.ingress_group);
table.get_field("egress_group", self.egress_group); table.get_field("egress_group", self.egress_group);
table.get_field("flags", self.flags); table.get_field("flags", self.flags);
table.get_field("opaque", self.opaque); table.get_field("opaque", self.opaque);
table.get_field("flow_id", self.flow_id); table.get_field("flow_id", self.flow_id);
table.get_field("address_space_id", self.address_space_id); table.get_field("address_space_id", self.address_space_id);
table.get_field("tenant_id", self.tenant_id);
// FIXIT-L do we want to be able to set the priv_ptr field? // FIXIT-L do we want to be able to set the priv_ptr field?
} }
static void get_fields(lua_State* L, int tindex, DAQ_PktHdr_t& self) static void get_fields(lua_State* L, int tindex, const DAQ_PktHdr_t& self)
{ {
Lua::Table table(L, tindex); Lua::Table table(L, tindex);
table.set_field("pktlen", self.pktlen); table.set_field("pktlen", self.pktlen);
table.set_field("ingress_index", self.ingress_index); table.set_field("ingress_index", self.ingress_index);
table.set_field("egress_index", self.egress_index); table.set_field("egress_index", self.egress_index);
table.set_field("ingress_group", self.ingress_group); table.set_field("ingress_group", self.ingress_group);
table.set_field("egress_group", self.egress_group); table.set_field("egress_group", self.egress_group);
table.set_field("flags", self.flags); table.set_field("flags", self.flags);
table.set_field("opaque", self.opaque); table.set_field("opaque", self.opaque);
table.set_field("flow_id", self.flow_id); table.set_field("flow_id", self.flow_id);
table.set_field("address_space_id", self.address_space_id); table.set_field("address_space_id", self.address_space_id);
table.set_field("tenant_id", self.tenant_id);
} }
static const luaL_Reg methods[] = static const luaL_Reg methods[] =
{ {
{ {
"new", "new",
[](lua_State* L) [](lua_State* L)
{ {
Lua::Args args(L); Lua::Args args(L);
 End of changes. 3 change blocks. 
1 lines changed or deleted 3 lines changed or added

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