Home
last modified time | relevance | path

Searched refs:opened_socket (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/
Dsendrecv.py602 L2socket=None, timeout=None, opened_socket=None, argument
667 if opened_socket is not None:
668 if isinstance(opened_socket, list):
670 for i, s in enumerate(opened_socket))
671 elif isinstance(opened_socket, dict):
673 for s, label in six.iteritems(opened_socket))
675 sniff_sockets[opened_socket] = "socket0"
768 if opened_socket is None:
850 return sniff(opened_socket={sckt1: if1, sckt2: if2}, prn=prn,
Dsupersocket.py73 return sendrecv.sniff(opened_socket=self, *args, **kargs)
/external/scapy/test/
Dregression.uts1096 def _send_or_sniff(pkt, timeout, flt, pid, fork, t_other=None, opened_socket=None):
1111 timeout=timeout, filter=flt, opened_socket=opened_socket,
1121 def send_and_sniff(pkt, timeout=2, flt=None, opened_socket=None):
1127 def run_function(pkt, timeout, flt, pid, thread, results, opened_socket):
1128 … _send_or_sniff(pkt, timeout, flt, pid, False, t_other=thread, opened_socket=opened_socket)
1132 …_child = Thread(target=run_function, args=(pkt, timeout, flt, 1, t_parent, results, opened_socket))