summaryrefslogtreecommitdiff
path: root/sbin/pflogd/pflogd.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/pflogd/pflogd.h')
-rw-r--r--sbin/pflogd/pflogd.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/pflogd/pflogd.h b/sbin/pflogd/pflogd.h
index 7bab61167de..655d3f9a988 100644
--- a/sbin/pflogd/pflogd.h
+++ b/sbin/pflogd/pflogd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pflogd.h,v 1.5 2015/10/10 22:36:06 deraadt Exp $ */
+/* $OpenBSD: pflogd.h,v 1.6 2017/09/05 15:41:25 brynet Exp $ */
/*
* Copyright (c) 2003 Can Erkin Acar
@@ -34,13 +34,15 @@
void logmsg(int priority, const char *message, ...);
/* Privilege separation */
-int priv_init(void);
+void priv_init(int, char **);
+__dead void priv_exec(int, int, char **);
+int priv_init_pcap(int);
int priv_set_snaplen(int snaplen);
int priv_open_log(void);
int priv_move_log(void);
int priv_pcap_stats(struct pcap_stat *);
-pcap_t *pcap_open_live_fd(int fd, int snaplen, char *ebuf);
+int init_pcap(void);
void set_pcap_filter(void);
/* File descriptor send/recv */
void send_fd(int, int);