Class PacketModifications
A set of modifications between packets
Metamethods
-
PacketModifications:__tostring ()
-
Same than print
See also:
Methods
-
PacketModifications:new (original, receivd)
-
Build a new PacketModifications
Parameters:
- original
Packet
the reference packet to compare to
- receivd
Packet
the new packet that has been modified
Returns:
PacketModifications
mod the set of modifications
-
PacketModifications:print ()
-
Return the textual representation of the object.
Returns:
string
See also:
-
PacketModifications:original ()
-
Get the original packet as reference when computing these modifications
Returns:
Packet
original
-
PacketModifications:received ()
-
Get the reveived packet differing from the original packet
Returns:
Packet
received
-
PacketModifications:partial ()
-
Check if the modifications have been computed based on a partial
header or not
Returns:
num
partial 0 if not from a partial header