689f35a015
Pcapy is a Python extension module that enables software written in Python to access the routines from the pcap packet capture library. Pcapy is most useful when used together with a packet handling package such as Impacket, a collection of Python classes for contructing and dissecting network packets.
13 lines
340 B
Plaintext
13 lines
340 B
Plaintext
$OpenBSD: patch-pcap_pkthdr_cc,v 1.1.1.1 2009/04/03 15:45:41 sthen Exp $
|
|
--- pcap_pkthdr.cc.orig Fri Apr 3 11:52:32 2009
|
|
+++ pcap_pkthdr.cc Fri Apr 3 11:52:36 2009
|
|
@@ -24,7 +24,7 @@
|
|
// internal pcapobject
|
|
typedef struct {
|
|
PyObject_HEAD
|
|
- struct timeval ts;
|
|
+ struct bpf_timeval ts;
|
|
bpf_u_int32 caplen;
|
|
bpf_u_int32 len;
|
|
} pkthdr;
|