Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/g/0/g0tBeEF-HEAD/g0tbeef.py   g0tBeEF(Download)
	def __init__(self):
		print '[*] in queue started.. waiting for data'
		self._q = nfqueue.queue()
		self._q.set_callback(Own().handler)
		self._q.fast_open(0, socket.AF_INET)

src/l/a/LANs.py-HEAD/LANs.py   LANs.py(Download)
   def __init__(self, args):
      self.q = nfqueue.queue()
      self.q.set_callback(Parser(args).start)
      self.q.fast_open(0, socket.AF_INET)
      self.q.set_queue_maxlen(5000)

src/d/n/dnsspoof-HEAD/dnsspoof.py   dnsspoof(Download)
    def __init__(self):
        self.q = nfqueue.queue()
        self.q.set_callback(cb)
        self.q.fast_open(0, socket.AF_INET)
        self.q.set_queue_maxlen(5000)

src/p/y/pystack-1.0.0/pystack/nfqueue_utils.py   pystack(Download)
    def __init__(self, callback, num):
        threading.Thread.__init__(self)
        self._q = nfqueue.queue()
        self._q.set_callback(callback)
        self._q.fast_open(num, AF_INET)
    def run_queue_blocking(self, callback, num):
        q = nfqueue.queue()
        q.set_callback(callback)
        q.fast_open(num,AF_INET) #Instead of : q.open() and q.bind(socket.AF_INET) and q.create_queue(12)
        try:

src/d/r/drop-HEAD/gza/gzacommon.py   drop(Download)
    def startgame(self):
        good = False
        while not good:
            try:
                self.q = nfqueue.queue()

src/o/p/opensvp-HEAD/src/nodpi.py   opensvp(Download)
    def run(self):
        q = nfqueue.queue()
 
        if self.verbose:
            print "NFQ: open"

src/i/p/ipv6-traceroute-faker-HEAD/ipv6-traceroute-faker.py   ipv6-traceroute-faker(Download)
 
if __name__ == "__main__":
    q = nfqueue.queue()
    print "open"
    q.open()

src/i/p/ipv6-traceroute-faker-HEAD/ipv6-traceroute-boomerang.py   ipv6-traceroute-faker(Download)
 
if __name__ == "__main__":
    q = nfqueue.queue()
    print "open"
    q.open()