
    h]                     @    S r SSKJr   " S S\5      r " S S\5      rg)z4
Interface definitions for working with raw packets
    )	Interfacec                   $    \ rS rSrSrS rS rSrg)IRawDatagramProtocol
   z7
An interface for protocols such as UDP, ICMP and TCP.
c                     gz$
Add a protocol on top of this one.
N numprotos     W/root/1688_scrapy/alibaba-scraper/venv/lib/python3.13/site-packages/twisted/pair/raw.pyaddProtoIRawDatagramProtocol.addProto           c                     gz9
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   datagramReceived%IRawDatagramProtocol.datagramReceived   r   r   r	   N__name__
__module____qualname____firstlineno____doc__r   r"   __static_attributes__r	   r   r   r   r   
   s    
r   r   c                   $    \ rS rSrSrS rS rSrg)IRawPacketProtocol)   z:
An interface for low-level protocols such as IP and ARP.
c                     gr   r	   r
   s     r   r   IRawPacketProtocol.addProto.   r   r   c                     gr   r	   )r   r   r   r   r   s        r   r"   #IRawPacketProtocol.datagramReceived3   r   r   r	   Nr$   r	   r   r   r,   r,   )   s    
r   r,   N)r)   zope.interfacer   r   r,   r	   r   r   <module>r3      s'    %9 > r   