summaryrefslogtreecommitdiff
path: root/net/honeyd/files/patch-honeyd.h
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-18 07:38:15 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-18 07:38:15 +0000
commitd5d2b7649bbaa03192defdec55146a31ed918621 (patch)
tree138227b775593965a901458996485a1bbc46fa79 /net/honeyd/files/patch-honeyd.h
parentSoekris ist a i386-look-alike, so set ONLY_FOR_ARCHS accordingly (diff)
- Update to 1.0
PR: ports/79909 Submitted by: Vasil Dimov <vd@datamax.bg> Approved by: Yann Berthier <yb@bashibuzuk.net> (maintainer)
Notes
Notes: svn path=/head/; revision=133562
Diffstat (limited to 'net/honeyd/files/patch-honeyd.h')
-rw-r--r--net/honeyd/files/patch-honeyd.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/honeyd/files/patch-honeyd.h b/net/honeyd/files/patch-honeyd.h
new file mode 100644
index 000000000000..57eab22b6c11
--- /dev/null
+++ b/net/honeyd/files/patch-honeyd.h
@@ -0,0 +1,20 @@
+--- honeyd.h.orig Thu Apr 14 16:07:26 2005
++++ honeyd.h Thu Apr 14 14:30:27 2005
+@@ -32,6 +32,8 @@
+ #ifndef _HONEYD_H_
+ #define _HONEYD_H_
+
++#include <pcap.h>
++
+ #define PIDFILE "/var/run/honeyd.pid"
+
+ #define TCP_DEFAULT_SIZE 512
+@@ -300,6 +302,8 @@
+ char *honeyd_contoa(const struct tuple *);
+
+ void honeyd_input(const struct interface *, struct ip_hdr *, u_short);
++
++void honeyd_recv_cb(u_char *, const struct pcap_pkthdr *, const u_char *);
+
+ /* Command prototypes for services */
+ void cmd_droppriv(uid_t, gid_t);