PacketTypeMatch

class PacketTypeMatch[source]

Match against the packet type

packet_type() PacketTypeCriterion[source]

Compare with the packet type

to_iptables_args() List[str][source]

Returns iptables(8) arguments for this match


PacketTypeCriterion

class PacketTypeCriterion(match: Match)[source]

Compare with the packet type

The comparison value is a string.