1/* 2 * lookup.c - Lookup IP address, HW address, netmask 3 *
| 1/* 2 * lookup.c - Lookup IP address, HW address, netmask 3 *
|
4 * $Id: lookup.c,v 1.2 1996/09/22 21:52:21 wosch Exp $
| 4 * $Id: lookup.c,v 1.3 1996/12/10 17:05:33 wollman Exp $
|
5 */ 6 7#include <sys/types.h> 8#include <sys/socket.h> 9 10#include <sys/time.h> /* for struct timeval in net/if.h */ 11#include <net/if.h> 12#include <netinet/in.h> 13 14#ifdef ETC_ETHERS
| 5 */ 6 7#include <sys/types.h> 8#include <sys/socket.h> 9 10#include <sys/time.h> /* for struct timeval in net/if.h */ 11#include <net/if.h> 12#include <netinet/in.h> 13 14#ifdef ETC_ETHERS
|
15#include <netinet/if_ether.h>
| 15#include <net/ethernet.h>
|
16extern int ether_hostton(); 17#endif 18 19#include <netdb.h> 20#include <syslog.h> 21 22#ifndef USE_BFUNCS 23#include <memory.h>
--- 106 unchanged lines hidden --- | 16extern int ether_hostton(); 17#endif 18 19#include <netdb.h> 20#include <syslog.h> 21 22#ifndef USE_BFUNCS 23#include <memory.h>
--- 106 unchanged lines hidden --- |