+
    ,i  c                   s   a  R t0 t ^ RIHt ^ RIt^RIHtHtHtHt Rt	] ^ k  ! R R]P                  ]P                  ]P                  4      tR# )    )IterableN)mixins	policyrepqueryutilIbendportconQueryc                   s   a  ] tR t^t o RtRt]V 3R lR l4       t]P                  V 3R lR l4       tV 3R lR lt	V 3R	 lt
R
tV tR# )r   a
  
Infiniband endport context query.

Parameter:
policy          The policy to query.

Keyword Parameters/Class attributes:
name            The name of the network interface to match.
name_regex      If true, regular expression matching will
                be used for matching the name.
port            The port number to match.
user            The criteria to match the context's user.
user_regex      If true, regular expression matching
                will be used on the user.
role            The criteria to match the context's role.
role_regex      If true, regular expression matching
                will be used on the role.
type_           The criteria to match the context's type.
type_regex      If true, regular expression matching
                will be used on the type.
range_          The criteria to match the context's range.
range_subset    If true, the criteria will match if it is a subset
                of the context's range.
range_overlap   If true, the criteria will match if it overlaps
                any of the context's range.
range_superset  If true, the criteria will match if it is a superset
                of the context's range.
range_proper    If true, use proper superset/subset operations.
                No effect if not using set operations.
Nc                s.   < V ^8  d   QhRS[ R,          /# )   returnNintformat__classdict__   "@/usr/lib64/python3.14/site-packages/setools/ibendportconquery.py__annotate__IbendportconQuery.__annotate__1   s      cDj     c                s    V P                   # )N_port)selfs   &r   portIbendportconQuery.port0   s    zzr   c                s2   < V ^8  d   QhRS[ R,          RR/# )r   valueNr   r	   r   r   r   r   r   5   s      #*  r   c                s    V'       d3   \        V4      p^ Tu;8  d   R8  g   M \        RV 24      hW n        R# RV n        R# )r    i   zEndport value must be 1-255: N)r
   Z
ValueErrorr   )r   r   Zpending_values   && r   r   r   4   s:    JM}*s* #@!PQQ&JDJr   c                sD   < V ^8  d   QhRS[ S[P                  ,          /# )r   r   )r   r   ZIbendportconr   r   r   r   r   ?   s      )"8"89 r   c              #  s  "   V P                   P                  RV P                   24       V P                  V P                   4       V P                   P	                  RV P
                  : 24       V P                  V P                   4       V P                  P                  4        F  pV P                  '       d?   \        P                  ! VP                  V P                  V P                  4      '       g   KS  V P
                  e   V P
                  VP
                  8w  d   K~  V P                  VP                  4      '       g   K  Vx  K  	  R# 5i)z2Generator which yields all matching ibendportcons.z%Generating ibendportcon results from z
self.port=N)ZlogZinfoZpolicyZ_match_name_debugZdebugr   Z_match_context_debugZibendportconsZnamer   Zmatch_regexZ
name_regexZ_match_contextZcontext)r   Zendports   & r   resultsZIbendportconQuery.results?   s     =dkk]KLtxx(*$))'!!$((+{{002Gyyy!1!1LLIIOO"% "% yy$gll)B&&w77M 3s   C2E5AEEc                s4   < V ^8  d   Qh/ S[ R,          ;R&   # )r   Nr   r	   r   r   r   r   r      s     B :C r   r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   Zpropertyr   Zsetterr   Z__annotate_func__Z__static_attributes__Z__classdictcell__)r      @r   r   r      sM     > E  
[[  e  r   c                s    V ^8  d   Qh/ ^ \         9   d,   \        P                  \        \        R3,          ,          ;R&   # )r   .__all__)__conditional_annotations__typingZFinalZtupleZstr)r   s   "r   r   r      s,     $ $
 @ ?eCHo	& ? %r   )r   )r   Zcollections.abcr   r   Z r   r   r   r   r   ZMatchContextZ	MatchNameZPolicyQueryr   r   )r   r   r   <module>r      sC   
 % $  , ,)? ?F++V-=-=u?P?P Fr   