Endpoint configuration · GraphQL type

FibExpression type

Fib represents an nftables expression for performing a Forwarding Information Base (FIB) lookup. This allows rules to query the kernel's routing table based on specified flags and store a particular result.

Fields

Field Name Description
register - NftRegister! The register where the result of the FIB lookup will be stored.
result - FibResult! The specific result to retrieve from the FIB lookup (e.g., output interface, address type).
flags - [FibFlag!] The flag specifying the criteria to use for the FIB lookup (e.g., source address, destination address).

Used by

  • ChainExpression union: A union of all possible nftables chain expression types.

Example

Example

{"register": "VERDICT", "result": "OIF", "flags": ["SADDR"]}