Convert values between network byte order (big-endian) and host byte order for correct comparisons and storage.
Fields
| Field Name | Description |
|---|---|
sourceRegister - NftRegister!
|
Source register for the byte order operation. |
destRegister - NftRegister!
|
Destination register for the byte order operation. |
op - ByteOrderOperation!
|
The byte order operation to perform. |
len - Uint32!
|
Length of the data to operate on in bytes. |
size - Uint32!
|
Size of the data to operate on in bytes. |
Used by
ChainExpressionunion: A union of all possible nftables chain expression types.
Example
Example
{
"sourceRegister": "VERDICT",
"destRegister": "VERDICT",
"op": "NETWORK_TO_HOST",
"len": "1073741824",
"size": "1073741824"
}