486518fcaa
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
16 lines
469 B
Text
16 lines
469 B
Text
--- ../arpwatch-2.1a11/arpwatch.h Sat Sep 30 19:40:55 2000
|
|
+++ ./arpwatch.h Fri Sep 12 17:01:42 2003
|
|
@@ -1,6 +1,7 @@
|
|
/* @(#) $Id: arpwatch.h,v 1.29 2000/09/30 23:40:49 leres Exp $ (LBL) */
|
|
|
|
#define ARPFILE "arp.dat"
|
|
+#define ETHERFILE "ether.dat"
|
|
#define ETHERCODES "ethercodes.dat"
|
|
#define CHECKPOINT (15*60) /* Checkpoint time in seconds */
|
|
|
|
@@ -40,3 +41,5 @@
|
|
#define SPA(ap) ((ap)->arp_spa)
|
|
#define TPA(ap) ((ap)->arp_tpa)
|
|
#endif
|
|
+
|
|
+int pcap_thread(char *);
|