Did I find the right examples for you? yes no

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

src/l/a/LANs.py-HEAD/LANs.py   LANs.py(Download)
      self.q.set_queue_maxlen(5000)
      reactor.addReader(self)
      self.q.set_mode(nfqueue.NFQNL_COPY_PACKET)
      print '[*] Flushed firewall and forwarded traffic to the queue; waiting for data'
   def fileno(self):

src/g/0/g0tBeEF-HEAD/g0tbeef.py   g0tBeEF(Download)
		self.fd = self._q.get_fd()
		asyncore.file_dispatcher.__init__(self, self.fd, None)
		self._q.set_mode(nfqueue.NFQNL_COPY_PACKET)
	def handle_read(self):
		self._q.process_pending(10)

src/d/n/dnsspoof-HEAD/dnsspoof.py   dnsspoof(Download)
        self.q.set_queue_maxlen(5000)
        reactor.addReader(self)
        self.q.set_mode(nfqueue.NFQNL_COPY_PACKET)
        print '[*] Waiting for data'
    def fileno(self):

src/p/y/pystack-1.0.0/pystack/nfqueue_utils.py   pystack(Download)
        self.fd = self._q.get_fd()
        asyncore.file_dispatcher.__init__(self, self.fd, None)
        self._q.set_mode(nfqueue.NFQNL_COPY_PACKET)
 
        self._stopevent = threading.Event()