]>
git.ipfire.org Git - thirdparty/dhcp.git/blob - includes/cf/rhapsody.h
e1c867f7990f0e96b8248a05d1f47ee41691b385
3 System dependencies for NetBSD... */
6 * Copyright (c) 1996-1999 Internet Software Consortium.
7 * Use is subject to license terms which appear in the file named
8 * ISC-LICENSE that should have accompanied this file when you
9 * received it. If a file named ISC-LICENSE did not accompany this
10 * file, or you are not sure the one you have is correct, you may
11 * obtain an applicable copy of the license at:
13 * http://www.isc.org/isc-license-1.0.html.
15 * This file is part of the ISC DHCP distribution. The documentation
16 * associated with this file is listed in the file DOCUMENTATION,
17 * included in the top-level directory of this release.
19 * Support and other services are available for ISC products - see
20 * http://www.isc.org for more information.
24 #include <sys/types.h>
38 #include <net/if_dl.h>
39 #include <net/route.h>
40 #include <sys/sockio.h>
42 #define ifr_netmask ifr_addr
44 /* Varargs stuff... */
46 #define VA_DOTDOTDOT ...
48 #define VA_start(list, last) va_start (list, last)
50 #ifndef _PATH_DHCPD_PID
51 #define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
53 #ifndef _PATH_DHCPD_DB
54 #define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
56 #ifndef _PATH_DHCLIENT_PID
57 #define _PATH_DHCLIENT_PID "/var/run/dhclient.pid"
59 #ifndef _PATH_DHCLIENT_DB
60 #define _PATH_DHCLIENT_DB "/var/db/dhclient.leases"
64 #define VOIDPTR void *
69 #define GET_TIME(x) time ((x))
74 #if defined (USE_DEFAULT_NETWORK)
82 #ifdef NEED_PRAND_CONF
83 const char *cmds
[] = {
85 "/usr/sbin/netstat -an 2>&1",
87 "/usr/bin/uptime 2>&1",
88 "/usr/bin/printenv 2>&1",
89 "/usr/sbin/netstat -s 2>&1",
90 "/usr/bin/vm_stat 2>&1",
95 const char *dirs
[] = {
104 const char *files
[] = {
108 #endif /* NEED_PRAND_CONF */