summaryrefslogtreecommitdiff
path: root/net/arpwatch-devel/files/patch-ao
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-19 23:34:48 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-19 23:34:48 +0000
commit486518fcaaa4b373ad28bfaa87b26523a50d9cd2 (patch)
treef353e6fbb8a862121294775d61b335e29d780799 /net/arpwatch-devel/files/patch-ao
parentAdd p5-DBI-Shell 11.93, interactive command shell for the DBI. (diff)
This is a development fork of arpwatch. This has been
threaded in order to better deal with the requirements of multi-interface routers. Information regarding MAC addresses and interfaces is maintained by the program, and an alert is issued should a device move between interfaces. In addition, event processing has been refactored, and some bugs have been fixed. PR: 59180 Submitted by: Matthew George <mdg@secureworks.net> Approved by: portmgr
Notes
Notes: svn path=/head/; revision=98614
Diffstat (limited to 'net/arpwatch-devel/files/patch-ao')
-rw-r--r--net/arpwatch-devel/files/patch-ao20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/arpwatch-devel/files/patch-ao b/net/arpwatch-devel/files/patch-ao
new file mode 100644
index 000000000000..2472b9f35f7c
--- /dev/null
+++ b/net/arpwatch-devel/files/patch-ao
@@ -0,0 +1,20 @@
+--- ../arpwatch.orig/report.h Wed Jun 5 01:40:54 1996
++++ ./report.h Mon Sep 15 15:03:20 2003
+@@ -1,3 +1,16 @@
+ /* @(#) $Header: report.h,v 1.3 96/06/04 22:40:53 leres Exp $ (LBL) */
+
+-void report(char *, u_int32_t, u_char *, u_char *, time_t *, time_t *);
++
++typedef enum
++ {
++ ETHER_NEW=1,
++ ETHER_IFCHG=2,
++ ACTIVITY_NEW=4,
++ IP_NEW=8,
++ IP_ETHERCHG=16,
++ IP_ETHER_REUSE=32,
++ FLIPFLOP=64,
++ FLIPFLOP_DECNET=128
++ } evt_type;
++
++void report(evt_type, u_int32_t, u_char *, u_char *, time_t *, time_t *, char *, char *);