dhcp-server-defaults.h
来自「this is sample about DHCP-agent」· C头文件 代码 · 共 48 行
H
48 行
/* $Header: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-server-defaults.h,v 1.2 2003/07/15 10:56:34 actmodern Exp $ * * Copyright 2002 Thamer Alharbash <tmh@whitefang.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * 3. The names of the authors may not be used to endorse or promote * products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * */#ifndef DHCP_SERVER_DEFAULTS_H#define DHCP_SERVER_DEFAULTS_H/* default mtu setting: this is only used if the * * interface needs to be brought up (a dumb interface) */#define SERVER_DEFAULT_MTU 1500/* Percent of lease time to use as renew by default. */#define SERVER_DEFAULT_RENEW_PERCENT 50/* Percent of lease time to use as rebind by default. */#define SERVER_DEFAULT_REBIND_PERCENT 80/* Poll timeout. Set this to a higher value if you want the * server to poll for events less frequently. This only really * affects signals for now. */#define SERVER_DEFAULT_POLL_TIMEOUT 5#endif /* DHCP_SERVER_DEFAULTS_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?