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.tcp_application import TCPApplication
from layers.udp import UDPProtocol
from layers.dns import DNSProtocol
 
 
 
        #Layer 7
        self.dns = DNSProtocol(self.interface)
        self.udp.register_layer(self.dns)