NFLogTarget¶
- class NFLogTarget(*, group: Optional[int] = None, prefix: Optional[str] = None, size: Optional[int] = None, threshold: Optional[int] = None)[source]¶
This class provides access to the
NFLOGtarget- Parameters:
group – netlink group to send packets to
prefix – prefix to include in every log message
size – number of packets to copy to userspace
threshold – number of packets to queue in kernel before sending to userspace
- get_target_name() str¶
Returns the target name
- is_terminating() bool¶
Returns
Trueif this is a terminating target