HEX
Server: nginx/1.24.0
System: Linux ip-172-31-22-109 6.17.0-1012-aws #12~24.04.1-Ubuntu SMP Mon Apr 6 17:36:28 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/twisted/pair/__pycache__/raw.cpython-312.pyc
�

Ϫ�f]��@�dZddlmZGd�de�ZGd�de�Zy)z4
Interface definitions for working with raw packets
�)�	Interfacec��eZdZdZd�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.datagramReceivedrrN��__name__�
__module__�__qualname__�__doc__r
r rrrrr
s����
rrc��eZdZdZd�Zd�Zy)�IRawPacketProtocolzB
    An interface for low-level protocols such as IP and ARP.
    c��yrrr	s  rr
zIRawPacketProtocol.addProto.rrc��yrr)rrrrrs     rr z#IRawPacketProtocol.datagramReceived3rrNr!rrrr'r')s����
rr'N)r%�zope.interfacerrr'rrr�<module>r+s'���%��9��>
��
r