PayloadBase specifies the base offset from which to start reading or writing in the packet.
Values
| Enum Value | Description |
|---|---|
|
|
Start at the beginning of the link-layer header (e.g., Ethernet header). |
|
|
Start at the beginning of the network-layer header (e.g., IPv4/IPv6 header). |
|
|
Start at the beginning of the transport-layer header (e.g., TCP/UDP header). |
Used by
PayloadExpressiontype: PayloadExpression represents an nftables expression for accessing and manipulating packet payload data at various layers (link, network, transport).
Example
Example
"LL_HEADER"