|
string | protocol_name = "ipv4" |
|
string | nft_prefix = "ip" |
|
| addrs = ip.addrs["ipv4"] |
|
int | layer = 3 |
|
bool | custom_parser = False |
|
list | supported_keys |
|
dictionary | addrs |
|
|
bool | is_ip (self, Union[str, list] addr) |
|
str | explicit_address (self, Union[str, list] addr) |
|
None | add_addr_nfqueue (self, str addr_dir, bool is_backward=False) |
|
None | add_addr (self, str addr_dir, bool is_backward=False, str initiator="") |
|
dict | parse (self, bool is_backward=False, str initiator="") |
|
None | __init__ (self, dict protocol_data, dict device) |
|
Protocol | init_protocol (c, str protocol_name, dict protocol_data, dict device) |
|
str | format_list (self, list l, func=lambda x:x) |
|
None | add_field (self, str field, dict template_rules, bool is_backward=False, func=lambda x:x, backward_func=lambda x:x) |
|
bool | is_ip_static (Union[str, list] addr, str version="ipv4") |
|
Union[str, int] | convert_value (str value) |
|
| protocol_data |
|
| device |
|
| rules |
|
The documentation for this class was generated from the following file:
- src/translator/protocols/ipv4.py