Lines Matching refs:packet_socket
74 self.packet_socket = socket.socket(socket.AF_PACKET, socket.SOCK_RAW,
76 self.packet_socket.bind((self.interface.device_name, ether_type,
85 packet_socket = self.packet_socket
86 packet_socket.setblocking(0)
90 packet_socket.recv(1500)
93 packet_socket.setblocking(1)
125 self.packet_socket.setsockopt(SOL_PACKET, add_drop, packet_mreq)
182 packet_socket = self.packet_socket
183 packet_socket.settimeout(1.3) # to check activeness periodically
187 buf = packet_socket.recv(128)
208 self.packet_socket.sendto(ev.data,