]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/isc-dhcp/includes/site.h
This commit was generated by cvs2svn to compensate for changes in r48730,
[FreeBSD/FreeBSD.git] / contrib / isc-dhcp / includes / site.h
1 /* Site-specific definitions.
2
3    For supported systems, you shouldn't need to make any changes here.
4    However, you may want to, in order to deal with site-specific
5    differences. */
6
7 /* Add any site-specific definitions and inclusions here... */
8
9 /* #include <site-foo-bar.h> */
10 /* #define SITE_FOOBAR */
11
12 /* Define this if you don't want dhcpd to run as a daemon and do want
13    to see all its output printed to stdout instead of being logged via
14    syslog().   This also makes dhcpd use the dhcpd.conf in its working
15    directory and write the dhcpd.leases file there. */
16
17 /* #define DEBUG */
18
19 /* Define this to see what the parser is parsing.   You probably don't
20    want to see this. */
21
22 /* #define DEBUG_TOKENS */
23
24 /* Define this to see dumps of incoming and outgoing packets.    This
25    slows things down quite a bit... */
26
27 /* #define DEBUG_PACKET */
28
29 /* Define this if you want to see dumps of tree evaluations.   The most
30    common reason for doing this is to watch what happens with DNS name
31    lookups. */
32
33 /* #define DEBUG_EVAL */
34
35 /* Define this if you want the dhcpd.pid file to go somewhere other than
36    the default (which varies from system to system, but is usually either
37    /etc or /var/run. */
38
39 /* #define _PATH_DHCPD_PID      "/var/run/dhcpd.pid" */
40
41 /* Define this if you want the dhcpd.leases file (the dynamic lease database)
42    to go somewhere other than the default location, which is normally
43    /etc/dhcpd.leases. */
44
45 /* #define _PATH_DHCPD_DB       "/etc/dhcpd.leases" */
46
47 /* Define this if you want the dhcpd.conf file to go somewhere other than
48    the default location.   By default, it goes in /etc/dhcpd.conf. */
49
50 /* #define _PATH_DHCPD_CONF     "/etc/dhcpd.conf" */
51
52 /* Network API definitions.   You do not need to choose one of these - if
53    you don't choose, one will be chosen for you in your system's config
54    header.    DON'T MESS WITH THIS UNLESS YOU KNOW WHAT YOU'RE DOING!!! */
55
56 /* Define this to use the standard BSD socket API.
57
58    On many systems, the BSD socket API does not provide the ability to
59    send packets to the 255.255.255.255 broadcast address, which can
60    prevent some clients (e.g., Win95) from seeing replies.   This is
61    not a problem on Solaris.
62
63    In addition, the BSD socket API will not work when more than one
64    network interface is configured on the server.
65
66    However, the BSD socket API is about as efficient as you can get, so if
67    the aforementioned problems do not matter to you, or if no other
68    API is supported for your system, you may want to go with it. */
69
70 /* #define USE_SOCKETS */
71
72 /* Define this to use the Sun Streams NIT API.
73
74    The Sun Streams NIT API is only supported on SunOS 4.x releases. */
75
76 /* #define USE_NIT */
77
78 /* Define this to use the Berkeley Packet Filter API.
79
80    The BPF API is available on all 4.4-BSD derivatives, including
81    NetBSD, FreeBSD and BSDI's BSD/OS.   It's also available on
82    DEC Alpha OSF/1 in a compatibility mode supported by the Alpha OSF/1
83    packetfilter interface. */
84
85 /* #define USE_BPF */
86
87 /* Define this to use the raw socket API.
88
89    The raw socket API is provided on many BSD derivatives, and provides
90    a way to send out raw IP packets.   It is only supported for sending
91    packets - packets must be received with the regular socket API.
92    This code is experimental - I've never gotten it to actually transmit
93    a packet to the 255.255.255.255 broadcast address - so use it at your
94    own risk. */
95
96 /* #define USE_RAW_SOCKETS */
97
98 /* Define this to change the logging facility used by dhcpd. */
99
100 /* #define DHCPD_LOG_FACILITY LOG_DAEMON */