OSDN Git Service

Fixed chkconfig option
[ultramonkey-l7/ultramonkey-l7-v2.git] / include / l7vs.h
1 /*!
2  * @file        l7vs.h
3  * @brief       UltraMonkey-L7 main header
4  * @author      nakai norihisa
5  *
6  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
7  * Copyright (C) 2005  NTT COMWARE Corporation.
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22  * 02110-1301 USA
23  *
24  **********************************************************************/
25
26 #ifndef L7VS_H
27 #define L7VS_H
28
29 #define L7VS_VERSION_STRING             VERSION
30
31 /*!
32  * default module path
33  */
34 #ifndef L7VS_MODULE_PATH
35         #define L7VS_MODULE_PATH        "."
36 #endif  //L7VS_MODULE_PATH
37
38 #define L7VS_IPADDR_LEN                 (16)
39 #define L7VS_MODNAME_LEN                (16)            /*!     Module name length*/
40 #define L7VS_PROTOMOD_MAX_BUFSIZE       (256)           /*! protocol module max buffer size */
41 #define L7VS_PROTOMOD_MAX_ADD_BUFSIZE   (256)           /*! protocol module max addbuffer size */
42 #define L7VS_PROTOMOD_MAX_SERVICE_ARG   (256)           /*! protocol module max service argument size */
43 #define L7VS_PROTOMOD_OPT_LEN           (512)
44 #define L7VS_PROTOMOD_KEY_LEN           (256)
45
46 extern char l7vs_module_path[];                                         /*! protocol module path */
47
48 #endif /* L7VS_H */