Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgollub
libpcap
libpcap-0.9.8-pcap-bpf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libpcap-0.9.8-pcap-bpf.patch of Package libpcap
Index: pcap/bpf.h =================================================================== --- pcap/bpf.h.orig +++ pcap/bpf.h @@ -83,6 +83,25 @@ typedef u_int bpf_u_int32; #define BPF_MINBUFSIZE 32 /* + * Struct returned by BIOCGSTATS. + */ +struct bpf_stat { + u_int bs_recv; /* number of packets received */ + u_int bs_drop; /* number of packets dropped */ +}; + +/* + * Structure prepended to each packet. + */ +struct bpf_hdr { + struct timeval bh_tstamp; /* time stamp */ + bpf_u_int32 bh_caplen; /* length of captured portion */ + bpf_u_int32 bh_datalen; /* original length of packet */ + u_short bh_hdrlen; /* length of bpf header (this struct + plus alignment padding) */ +}; + +/* * Structure for "pcap_compile()", "pcap_setfilter()", etc.. */ struct bpf_program {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor