亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sample.h

?? dhcp source code for linux2.6 version
?? H
字號:
/* sample.h   Sample config file for clients.   This file is provided as a sample in case the system you want to run   on is not currently supported.   If that is the case, follow the Porting::   comments here and in other files as guides for what to change.  Also,   note that this file hasn't been updated in a lo-o-o-ong time, so it's   probably worth looking at the config files for working ports as well. *//* * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1996-2003 by Internet Software Consortium * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * *   Internet Systems Consortium, Inc. *   950 Charter Street *   Redwood City, CA 94063 *   <info@isc.org> *   http://www.isc.org/ * * This software has been written for Internet Systems Consortium * by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc. * To learn more about Internet Systems Consortium, see * ``http://www.isc.org/''.  To learn more about Vixie Enterprises, * see ``http://www.vix.com''.   To learn more about Nominum, Inc., see * ``http://www.nominum.com''. *//* Porting::   Some systems do not define basic integer types as shown below.   On some systems, you need to include <bitypes.h> or <sys/bitypes.h>.   If you get parse errors in dhcpd.h while compiling dhcpd.conf, try   including bitypes.h, and if that fails, use the hard-coded definitions   shown below. */   #if 0#include <sys/bitypes.h>#endif#if 0#define int8_t		char#define int16_t		short#define int32_t		long#define u_int8_t	unsigned char#define u_int16_t	unsigned short #define u_int32_t	unsigned long #endif#include <sys/types.h>/* Porting::   The jmp_buf type as declared in <setjmp.h> is sometimes a structure   and sometimes an array.   By default, we assume it's a structure.   If it's an array on your system, you may get compile warnings or errors   as a result in confpars.c.   If so, try including the following definitions,   which treat jmp_buf as an array: */#if 0#define jbp_decl(x)	jmp_buf x#define jref(x)		(x)#define jdref(x)	(x)#define jrefproto	jmp_buf#endif/* Porting::   Some older systems (e.g., Ultrix) still use the 4.2BSD-style syslog   API.  These differ from later versions of the syslog API in that the   openlog system call takes two arguments instead of three, and the   facility code (the third argument to modern versions of openlog())   is ORed into the log priority in the syslog() call.   If you are running with the 4.2BSD-style syslog interface, define   SYSLOG_4_2. *//* #define SYSLOG_4_2 */#include <syslog.h>#include <string.h>#include <errno.h>#include <unistd.h>#include <sys/wait.h>#include <signal.h>#include <setjmp.h>#include <limits.h>extern int h_errno;#include <net/if.h>#include <net/if_arp.h>/* Porting::   Some older systems do not have defines for IP type-of-service,   or don't define them the way we expect.   If you get undefined   symbol errors on the following symbols, they probably need to be   defined here. */#if 0#define IPTOS_LOWDELAY          0x10#define IPTOS_THROUGHPUT        0x08#define IPTOS_RELIABILITY       0x04#endif/* Porting::   Newer BSD derivatives store non-permanent daemon files in a   directory called /var/run.   If your system has a /var/run,   use it; otherwise, use /etc. */#ifndef _PATH_DHCPD_PID#define _PATH_DHCPD_PID	"/etc/dhcpd.pid"#endif#ifndef _PATH_DHCLIENT_PID#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"#endif#ifndef _PATH_DHCRELAY_PID#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"#endif/* Porting::   If your system supports standard ANSI C, it should provide the file   /usr/include/stdarg.h.   This contains the ANSI standard declarations   for functions which take a variable number of arguments.   Older systems with non-ANSI compilers cannot support this interface,   and generally use the older varargs interface, defined in <varargs.h>.   Some systems only support varargs, but define the interface in   <stdarg.h> anyway.   You must choose one of the two sets of definitions below.   Try   stdarg.h first, unless you know it won't work.   If you have   trouble compiling errwarn.c, try switching to the varargs.h definitions.   If that fails, try using stdarg.h with the varargs definitions. */#if 0/* Stdarg definitions for ANSI-compliant C compilers. */#include <stdarg.h>#define VA_DOTDOTDOT ...#define VA_start(list, last) va_start (list, last)#define va_dcl#endif#if 0/* Varargs definitions, for non-ANSI-compliant C compilers. */#include <varargs.h>#define VA_DOTDOTDOT va_alist#define VA_start(list, last) va_start (list)#endif/* Porting::   Some systems (notably 4.4BSD derivatives) support versions of the   sprintf functions which will deposit a limited number of characters   into the buffer; that limit is provided in an extra argument.   If your system doesn't support this functionality, you must include   the definition below for a dhcp-distribution-local version to be   built and used: */#if 0#define NO_SNPRINTF#endif/* Porting::   Some systems provide a function, strerror(), which takes the unix   error number (see errno) and returns a pointer to a static buffer   containing the corresponding error message.   If your system doesn't provide strerror(), define NO_STRERROR   as shown below: */#if 0#define NO_STRERRORchar *strerror PROTO ((int));#endif/* Porting::   Once dhcpd has initialized itself, it loops forever waiting for   packets to come in.   Since we need to support multiple input streams   in order to support multiple interfaces, dhcpd needs to be able to   do a syscall to determine which descriptors have input waiting on   them.   Normally, dhcpd uses the select() system call, which is a 4.2BSD   syscall invented precisely for this purpose.   Unfortunately, some   System V-based systems do not support select() properly when it   operates on streams.   The System V interface which does (largely)   the same thing as select is called poll().   In some cases, this may   work better than select() - if you find that dhcpd is hanging and not   responding to packets very consistently, you might try defining   USE_POLL and including <poll.h>. */#if 0#define USE_POLL#include <poll.h>#endif/* Porting::   You must define the default network API for your port.   This   will depend on whether one of the existing APIs will work for   you, or whether you need to implement support for a new API.   Currently, the following APIs are supported:   	The BSD socket API: define USE_SOCKETS.	The Berkeley Packet Filter: define USE_BPF.	The Streams Network Interface Tap (NIT): define USE_NIT.	Raw sockets: define USE_RAW_SOCKETS   If your system supports the BSD socket API and doesn't provide   one of the supported interfaces to the physical packet layer,   you can either provide support for the low-level API that your   system does support (if any) or just use the BSD socket interface.   The BSD socket interface doesn't support multiple network interfaces,   and on many systems, it does not support the all-ones broadcast   address, which can cause problems with some DHCP clients (e.g.   Microsoft Windows 95). */#if defined (USE_DEFAULT_NETWORK)#  define USE_SOCKETS#endif/* Porting::   Recent versions of BSD added a new element to the sockaddr structure:   sa_len.   This indicates the length of the structure, and is used   in a variety of places, not the least of which is the SIOCGIFCONF   ioctl, which is used to figure out what interfaces are attached to   the system.   You should be able to determine if your system has an sa_len element   by looking at the struct sockaddr definition in /usr/include/sys/socket.h.   If it does, you must define HAVE_SA_LEN.   Otherwise, you must not.   The most obvious symptom that you've got this wrong is either a compile   error complaining about the use of the sa_len structure element, or   the failure of dhcpd to find any interfaces. *//* #define HAVE_SA_LEN *//* Every operating system has its own way of seperating lines in a   sequential text file.  Most modern systems use a single character,   either an ASCII Newline (10) or an ASCII Carriage Return (13).   The most notable exception is MS-DOS (and consequently, Windows),   which uses an ASCII Carriage Return followed by a Newline to   seperate each line.  Fortunately, MS-DOS C compiler libraries   typically hide this from the programmer, returning just a Newline.   Define EOL to be whatever getc() returns for a newline. */#define EOL '\n'/* Some older C compilers don't support the void pointer type.   ANSI C defines void * to be a pointer type that matches   any other pointer type.   This is handy for returning a pointer   which will always need to be cast to a different value.   For   example, malloc() on an ANSI C-compliant system returns void *.   If your compiler doesn't support void pointers, you may need to   define VOIDPTR to be char *; otherwise, define it to be void *. */#define VOIDPTR void */* Porting::   The following definitions for time should work on any unix machine.   They may not work (or at least, may not work well) on a variety of   non-unix machines.   If you are porting to a non-unix machine, you   probably need to change the definitions below and perhaps include   different headers.   I should note that dhcpd is not yet entirely clean of unix-specific   time references, so the list of defines shown below probably isn't   good enough if you're porting to a system that really doesn't support   unix time.   It's probably a reasonable place to start, though. */#include <time.h>#define TIME time_t#define GET_TIME(x)	time ((x))

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线看一区| 国产夫妻精品视频| 亚洲视频1区2区| 最新不卡av在线| 国产精品久久久久一区二区三区共| 欧美刺激脚交jootjob| 欧美一级一级性生活免费录像| 欧美日韩国产123区| 欧美绝品在线观看成人午夜影视| 色综合视频在线观看| 色妹子一区二区| 欧美三级电影在线观看| 欧美夫妻性生活| 精品国产成人系列| 欧美国产视频在线| 亚洲视频香蕉人妖| 国产一区二区三区蝌蚪| 国产成人在线视频网站| 99久久99久久免费精品蜜臀| 欧美婷婷六月丁香综合色| 69p69国产精品| 26uuu欧美| 一区二区在线观看免费视频播放| 亚洲小说欧美激情另类| 久久aⅴ国产欧美74aaa| 成人高清伦理免费影院在线观看| 欧美日韩一区高清| 久久这里只有精品视频网| 国产精品毛片久久久久久| 亚洲高清视频的网址| 国产主播一区二区| 色综合久久久久久久久| 欧美一卡二卡三卡| 国产精品不卡在线观看| 午夜视黄欧洲亚洲| 成人久久久精品乱码一区二区三区 | 日日摸夜夜添夜夜添国产精品| 麻豆成人av在线| 色综合色综合色综合| 欧美一区二区性放荡片| 亚洲免费观看视频| 美女看a上一区| 色播五月激情综合网| 亚洲综合成人在线| 麻豆成人久久精品二区三区小说| 成人av资源站| 久久综合色鬼综合色| 亚洲综合在线电影| 成人福利视频在线| 精品久久久久久久久久久久久久久久久| 国产精品色呦呦| 久久se精品一区精品二区| 在线观看欧美精品| 国产精品卡一卡二| 国产伦精品一区二区三区免费迷| 色94色欧美sute亚洲线路二| 精品对白一区国产伦| 视频一区中文字幕| 欧美色男人天堂| 亚洲免费毛片网站| 91原创在线视频| 国产精品毛片无遮挡高清| 激情综合色播五月| 欧美大片一区二区| 日韩电影一区二区三区| 欧美精选午夜久久久乱码6080| 亚洲欧美日韩国产中文在线| 成人sese在线| 欧美国产欧美亚州国产日韩mv天天看完整| 精品一区二区三区视频在线观看| 91麻豆精品国产自产在线观看一区| 亚洲综合色成人| 欧美日韩一区二区电影| 亚洲成人av一区二区三区| 欧美综合在线视频| 亚洲一区在线观看网站| 在线视频国内一区二区| 亚洲欧美区自拍先锋| 91在线观看成人| 亚洲码国产岛国毛片在线| 色综合中文字幕| 亚洲欧美日韩中文播放| 色婷婷激情久久| 亚洲成av人影院在线观看网| 欧美色手机在线观看| 日韩成人午夜精品| 日韩亚洲欧美在线| 国产精品一区在线| 中文欧美字幕免费| 91麻豆免费看| 日韩成人一级大片| 国产欧美一区二区三区鸳鸯浴 | 欧美性色aⅴ视频一区日韩精品| 一区二区三区四区激情| 欧美丰满美乳xxx高潮www| 麻豆精品一区二区三区| 国产拍揄自揄精品视频麻豆| 91久久精品日日躁夜夜躁欧美| 亚洲国产成人va在线观看天堂| 日韩视频免费直播| 成人黄色在线视频| 香蕉久久一区二区不卡无毒影院| 日韩一区二区在线观看视频 | 国产精品久久久久久久蜜臀| 91网站黄www| 奇米色一区二区三区四区| 久久久久久久网| 色婷婷一区二区| 麻豆精品久久久| 亚洲日本丝袜连裤袜办公室| 欧美精品乱人伦久久久久久| 国产高清久久久| 亚洲chinese男男1069| 国产偷国产偷精品高清尤物| 色综合久久中文综合久久牛| 奇米四色…亚洲| 亚洲人成影院在线观看| 欧美一级xxx| 色婷婷综合久久久久中文| 九色综合狠狠综合久久| 亚洲精选免费视频| 精品久久久网站| 欧美久久久久免费| 成人sese在线| 国产曰批免费观看久久久| 亚洲1区2区3区4区| 1区2区3区国产精品| 精品国产伦一区二区三区观看体验| 一本久久a久久精品亚洲| 精品亚洲免费视频| 爽好久久久欧美精品| 亚洲免费三区一区二区| 国产精品色呦呦| 久久精品一区四区| 欧美一区二区三区视频免费播放| 色婷婷综合在线| 成人永久aaa| 国产成人午夜精品5599| 蜜臀国产一区二区三区在线播放| 亚洲成人自拍偷拍| 亚洲激情校园春色| 亚洲欧美激情在线| 1区2区3区欧美| 亚洲欧美日韩国产手机在线| 中文字幕免费不卡| 欧美国产一区二区| 国产亲近乱来精品视频| 久久综合九色综合97婷婷女人 | 一区二区三区毛片| 中文字幕一区二区三区不卡在线| 久久久久久久久97黄色工厂| 久久综合久久久久88| 久久久无码精品亚洲日韩按摩| 日韩精品一区二区三区视频播放 | 中文在线一区二区| 国产精品午夜在线观看| 亚洲国产精品精华液ab| 国产欧美一区二区精品秋霞影院| 日韩欧美国产高清| 精品国产伦一区二区三区观看方式| 欧美一区欧美二区| 精品欧美一区二区三区精品久久| 日韩视频一区二区三区| 欧美精品一区二区三区在线 | 欧美日韩精品电影| 欧美日韩一卡二卡| 日韩一卡二卡三卡四卡| 日韩精品一区国产麻豆| 久久久国产一区二区三区四区小说 | 国产精品少妇自拍| 亚洲卡通欧美制服中文| 亚洲一区二区在线免费观看视频 | 成人免费视频app| 97国产精品videossex| 色美美综合视频| 7777精品久久久大香线蕉| 日韩三级视频在线观看| 欧美精品一区二区三区视频| 久久精品在这里| 亚洲最新视频在线观看| 不卡的av电影在线观看| 在线观看一区二区视频| 91麻豆精品久久久久蜜臀| 国产偷v国产偷v亚洲高清| 亚洲人妖av一区二区| 日韩精品一区第一页| 国产一区二区三区免费观看| 91免费国产在线观看| 在线综合视频播放| 国产精品久久精品日日| 天天av天天翘天天综合网色鬼国产 | 91精品国产91久久久久久一区二区 | 久久国产福利国产秒拍| av电影天堂一区二区在线观看| 在线中文字幕一区二区| 久久久精品免费网站| 亚洲五月六月丁香激情| 岛国一区二区三区| 7777精品伊人久久久大香线蕉| 国产精品免费av|