Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pystack-1.0.0/pystack/pystack.py   pystack(Download)
from layers.ip import IPProtocol
from layers.arp import ARPProtocol
from layers.tcp import TCPProtocol
from layers.tcp_session import TCPSession
from layers.tcp_application import TCPApplication
 
        #Layer 4
        self.tcp = TCPProtocol()
        ip.register_layer(self.tcp)
        self.udp = UDPProtocol()