OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
pyroute2
/
nslink
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/14/2024 03:18:02 PM
rwxr-xr-x
📄
__init__.cpython-311.pyc
184 bytes
05/14/2024 03:18:02 PM
rw-r--r--
📄
nslink.cpython-311.pyc
10.87 KB
05/14/2024 03:18:02 PM
rw-r--r--
📄
nspopen.cpython-311.pyc
16.4 KB
05/14/2024 03:18:02 PM
rw-r--r--
Editing: nspopen.cpython-311.pyc
Close
� ��Cf�, � � � d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m Z mZ ddlm Z d� Zd� Zd� Zd � Zd � Z G d� de� � Z G d � de� � Zd� Z G d� de� � Z ee� � G d� de� � � � ZdS )z� NSPopen ======= The `NSPopen` class has nothing to do with netlink at all, but it is required to have a reasonable network namespace support. � N)�config)�file� metaclass)�setnsc �p � | d dk r| d �| d dk r| d S t d� � �)N�code�� �data�� zunsupported return code)� TypeError)�results �J/opt/alt/python311/lib/python3.11/site-packages/pyroute2/nslink/nspopen.py�_handler sC � � �f�~�����V�n�� ���3� � ��f�~���1�2�2�2� c � � �� � �fd�}|S )Nc �@ �� ��� � � g| �R i |��S �N)�fileno)�argv�kwarg�prime�targets ��r �funcz_make_fcntl.<locals>.func! s+ �� ��v�e�l�l�n�n�5�t�5�5�5�u�5�5�5r � )r r r s `` r �_make_fcntlr s) ��� �6� 6� 6� 6� 6� 6� �Kr c � � � � fd�}|S )Nc � �� �| i |��S r r )r r r s �r r z_make_func.<locals>.func( s �� ��v�t�%�u�%�%�%r r )r r s ` r � _make_funcr '