| Server IP : 159.223.102.202 / Your IP : 216.73.217.92 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/twisted/pair/__pycache__/ |
Upload File : |
�
M��e] � �@ � d Z ddlmZ G d� de� Z G d� de� Zy)z4
Interface definitions for working with raw packets
� )� Interfacec � � e Zd ZdZd� Zd� Zy)�IRawDatagramProtocolz?
An interface for protocols such as UDP, ICMP and TCP.
c � � y�z4
Add a protocol on top of this one.
N� ��num�protos �2/usr/lib/python3/dist-packages/twisted/pair/raw.py�addProtozIRawDatagramProtocol.addProto � � � c � � y�zI
An IP datagram has been received. Parse and process it.
Nr )�data�partial�source�dest�protocol�version�ihl�tos�tot_len�fragment_id�fragment_offset�
dont_fragment�more_fragments�ttls r �datagramReceivedz%IRawDatagramProtocol.datagramReceived r r N��__name__�
__module__�__qualname__�__doc__r
r r r r r r
s � ���
r r c � � e Zd ZdZd� Zd� Zy)�IRawPacketProtocolzB
An interface for low-level protocols such as IP and ARP.
c � � yr r r s r r
zIRawPacketProtocol.addProto. r r c � � yr r )r r r r r s r r z#IRawPacketProtocol.datagramReceived3 r r Nr! r r r r'