/* * $Id: src/arpdig/arpdig.h,v 1.9 2006/04/23 18:12:11 marck Exp $ */ #define MAXBPFN 999 #define BPFLEN (1+3+1+3+3+1) /* /dev/bpfNNN */ #define ETHEROFFSET (6+6+2) /* ethernet frame header */ #define MAXARPOP ARPOP_INVREPLY #define MAXIFACES 1024 /* max number of interfaces */ #define DEFNARP 32 /* start nubber of arp entries */ #define BUFLEN 64 /* man config file line length */ #define ARPTIMEOUT 1 #define MAXTRIES 3 #define WDSECS 15 #define WATCHDOG 120 struct _iparp { struct in_addr addr; u_short emitted; u_short recd; u_char hwaddr[ETHER_ADDR_LEN]; }; /* doarp.c */ int arpdig(char *, struct in_addr, struct in_addr, int); extern int noresolve;