/* autoconf.h. Generated automatically by configure. */ /* * PXE daemon - enable the remote booting of PXE enabled machines. * Copyright (C) 2000 Tim Hurman (kano@kano.org.uk) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * */ /****************************************************************************** * autoconf.h - pxe daemon configuration file * ******************************************************************************/ #ifndef _AUTOCONF_H #define _AUTOCONF_H /* define this if you have stdint.h */ #define HAVE_STDINT_H 1 /* define this if you have stropts.h */ /* #undef HAVE_STROPTS_H */ /* define this if you have sys/sockio.h */ #define HAVE_SYS_SOCKIO_H 1 /* define this if you have ifaddrs.h */ #define HAVE_IFADDRS_H 1 /* define this if you have getifaddrs */ #define HAVE_GETIFADDRS 1 /* define this if you have hstrerror */ #define HAVE_HSTRERROR 1 /* define this if you have inet_aton */ #define HAVE_INET_ATON 1 /* define this if you don't want the daemon to setuid */ /* #undef NO_SUID */ /* the user to setuid to */ #define SETUID "nobody" /* the location of the pxe daemon config file */ #define PXECONFIGFILE "/etc/pxe.conf" /* location of the pxe daemon log file */ #define PXELOGFILE "/tmp/pxe.log" /******************************************************************************/ /* should not need to change from here onwards */ /* the lock file */ #define LOCKFILE "/var/run/pxe.pid" #define DEF_MULTI_BOOT 0xe0000102 #define DEF_ADDR "0.0.0.0" #define DEF_PORT 4011 #define BOOTPC_NAME "bootpc" #define PXE_SERVER_TYPE 0 // PXE bootstrap server #define DHCP_T60 "PXEClient" #define DEF_MTFTP_ADDR 0xe0010501 #define DEF_MTFTP_CPORT 0x06de #define DEF_MTFTP_SPORT 0x06df #define MTFTP_OPEN_TIMEOUT 1 // secs before fail #define MTFTP_REOPEN_TIMEOUT 2 // secs before retrying #define DEF_DOMAIN "example.net" #define TFTPD_BASE "/tftpboot" #define DEF_PROMPT "Press F8 to view menu ..." #define DEF_PROMPT_TIMEOUT 10 #endif // _AUTOCONF_H