nftables ¤
Classes:
-
NftFields– -
Expr– -
Rule– -
ChainHook– -
Chain– -
Set– -
Object– -
FlowtableHook– -
Flowtable– -
Table– -
Nftables–
Functions:
Attributes:
-
NFPROTO_INET– -
NFPROTO_IPV4– -
NFPROTO_ARP– -
NFPROTO_NETDEV– -
NFPROTO_BRIDGE– -
NFPROTO_IPV6– -
nftables_table_family–
nftables_table_family module-attribute ¤
nftables_table_family = {
"inet": NFPROTO_INET,
"ip": NFPROTO_IPV4,
"arp": NFPROTO_ARP,
"netdev": NFPROTO_NETDEV,
"bridge": NFPROTO_BRIDGE,
"ip6": NFPROTO_IPV6,
}
NftFields ¤
Methods:
Rule ¤
Bases: NftFields
Methods:
-
find– -
iter_exprs– -
print– -
__getattr__– -
get_hook_list_dev_names– -
print_fields–
Attributes:
Chain ¤
Chain(addr: Value)
Bases: NftFields
Methods:
-
find– -
iter_rules– -
print– -
__getattr__– -
get_hook_list_dev_names– -
print_fields–
Attributes:
Set ¤
Set(addr: Value)
Bases: NftFields
Methods:
Attributes:
-
use(int) – -
dead(int) – -
genmask(int) – -
field_count(int) – -
num_exprs(int) – -
name(str) – -
flags(int) – -
ktype(int) – -
klen(int) – -
dtype(int) – -
dlen(int) – -
policy(int) – -
timeout(int) – -
gc_int(int) – -
objtype(int) – -
handle(int) – -
nelems(int) – -
desc_size(int) – -
desc_concat(list[int]) – -
table(Table) – -
userdata(bytearray) –
Object ¤
Object(addr: Value)
Flowtable ¤
Flowtable(addr: Value)
Table ¤
Table(addr: Value)
Bases: NftFields
Methods:
-
find– -
iter_chains– -
iter_sets– -
iter_flowtables– -
iter_objects– -
nested_print– -
print– -
__getattr__– -
get_hook_list_dev_names– -
print_fields–
Attributes: