o ¯b]ã@s4dZddlmZGdd„deƒZGdd„deƒZdS)z4 Interface definitions for working with raw packets é)Ú Interfacec@ó eZdZdZdd„Zdd„ZdS)ÚIRawDatagramProtocolz? An interface for protocols such as UDP, ICMP and TCP. cCódS©z4 Add a protocol on top of this one. N©©ÚnumÚprotorrú2/usr/lib/python3/dist-packages/twisted/pair/raw.pyÚaddProtoózIRawDatagramProtocol.addProtocCr©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Úttlrrr ÚdatagramReceivedr z%IRawDatagramProtocol.datagramReceivedN©Ú__name__Ú __module__Ú __qualname__Ú__doc__r rrrrr r ó rc@r)ÚIRawPacketProtocolzB An interface for low-level protocols such as IP and ARP. cCrrrrrrr r .r zIRawPacketProtocol.addProtocCrrr)rrrrrrrr r3r z#IRawPacketProtocol.datagramReceivedNrrrrr r$)r#r$N)r"Úzope.interfacerrr$rrrr Ús