Skip to content
Stjepan Bakrac edited this page May 22, 2020 · 1 revision

This object describes the metadata for a given packet. It is passed as the second parameter for packet event functions, and is also returned as the second value from the packet:last call. It is a struct with the following definition:

struct.struct({
    modified        = {0x000, struct.data(0x100)},
    modified_size   = {0x100, struct.int32},
    original        = {struct.data(0x100)},
    original_size   = {struct.int32},
    id              = {struct.int32},
    direction       = {struct.string(0x10)},
    timestamp       = {struct.double},
    blocked         = {struct.bool},
    injected        = {struct.bool},
    path            = {struct.string(0x100)},
}),
Clone this wiki locally