Package onep :: Package policyservice :: Module match :: Class PacketLength
[frames] | no frames]

Class PacketLength


PacketLength Class.

Packet Length Math. This specifies the Layer 3 packet length in the IP header as match criterion in a classmap.

Instance Methods
 
__init__(self, min, max)
Constructs a packet length match.
 
__eq__(self, obj)

Inherited from Match: check_match_support, get_match_type, match_type, set_negate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from Match: MatchOpCode, MatchType, __metaclass__

Properties

Inherited from object: __class__

Method Details

__init__(self, min, max)
(Constructor)

 

Constructs a packet length match.

Parameters:
  • min (int) - Minimum packet length.
  • max (int) - Maximum packet length.
Raises:
Overrides: object.__init__