Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115867621
D46676.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
727 B
Referenced Files
None
Subscribers
None
D46676.diff
View Options
diff --git a/contrib/pf/pflogd/pflogd.h b/contrib/pf/pflogd/pflogd.h
--- a/contrib/pf/pflogd/pflogd.h
+++ b/contrib/pf/pflogd/pflogd.h
@@ -40,6 +40,19 @@
int priv_move_log(void);
pcap_t *pcap_open_live_fd(int fd, int snaplen, char *ebuf);
+/* XXX TODO: Investigate a permanent solution, rather than defining these two
+ structures here. */
+struct pcap_timeval {
+ bpf_u_int32 tv_sec; /* seconds */
+ bpf_u_int32 tv_usec; /* microseconds */
+};
+
+struct pcap_sf_pkthdr {
+ struct pcap_timeval ts; /* time stamp */
+ bpf_u_int32 caplen; /* length of portion present */
+ bpf_u_int32 len; /* length of this packet (off wire) */
+};
+
void set_pcap_filter(void);
/* File descriptor send/recv */
void send_fd(int, int);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 7:04 PM (16 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17862994
Default Alt Text
D46676.diff (727 B)
Attached To
Mode
D46676: pflogd: Define structures removed in libpcap-1.10.5
Attached
Detach File
Event Timeline
Log In to Comment