Skip to content

Commit

Permalink
SQUASH packetlib
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Jan 22, 2025
1 parent 5f424c0 commit 82b97d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/util-lua-packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ static int LuaPacketTimestamp(lua_State *luastate)
return 2;
}

/** \internal
* \brief fill lua stack with header info
* \param luastate the lua state
* \retval cnt number of data items placed on the stack
*
* Places: ipver (number), src ip (string), dst ip (string), protocol (number),
* sp or icmp type (number), dp or icmp code (number).
*/
static int LuaPacketTuple(lua_State *luastate)
{
struct LuaPacket *s = (struct LuaPacket *)lua_touserdata(luastate, 1);
Expand Down

0 comments on commit 82b97d3

Please sign in to comment.