def send(): hpcap = pcap.pcap_open_live(device, 65535, True, 0) pcap.pcap_sendpacket( hpcap, b'datadatadatatdatadafjasdkfjkasjdfkasdfklajsdfjlksaflsjkfjaskdjfasjfdk' ) pcap.pcap_close(hpcap)
def test_pcap_sendpacket(self): pcap.pcap_sendpacket(self.hpcap, b'datadatadatatdatadafjasdkfjkasjdfkasdfklajsdfjlksaflsjkfjaskdjfasjfdk')
def test_pcap_sendpacket(self): pcap.pcap_sendpacket( self.hpcap, b'datadatadatatdatadafjasdkfjkasjdfkasdfklajsdfjlksaflsjkfjaskdjfasjfdk' )
def send(): hpcap = pcap.pcap_open_live(device, 65535, True, 0) pcap.pcap_sendpacket(hpcap, b'datadatadatatdatadafjasdkfjkasjdfkasdfklajsdfjlksaflsjkfjaskdjfasjfdk') pcap.pcap_close(hpcap)