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

Class TCPFlags


TCPFlags class.

TCP flags match.

Instance Methods
 
__init__(self, oper, value, mask)
Constructs an TCPFlags 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
  operator = property(_get_operator, None, None, _doc_operator)

Inherited from Match: MatchOpCode, MatchType, __metaclass__

Properties

Inherited from object: __class__

Method Details

__init__(self, oper, value, mask)
(Constructor)

 

Constructs an TCPFlags match.

Parameters:
  • oper (MatchOperator) - Logical AND, OR function.
  • value (int) - TCP flags to be matched.
  • mask (int) - TCP flags mask.
Raises:
Overrides: object.__init__