3 * @brief UltraMonkey-L7 main header
4 * @author nakai norihisa
6 * L7VSD: Linux Virtual Server for Layer7 Load Balancing
7 * Copyright (C) 2005 NTT COMWARE Corporation.
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.
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.
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
24 **********************************************************************/
31 #define L7VS_VERSION_STRING VERSION
36 #ifndef L7VS_MODULE_PATH
37 #define L7VS_MODULE_PATH "."
38 #endif //L7VS_MODULE_PATH
40 #define L7VS_IPADDR_LEN (16)
41 #define L7VS_MODNAME_LEN (16) /*! Module name length*/
42 #define L7VS_PROTOMOD_MAX_BUFSIZE (256) /*! protocol module max buffer size */
43 #define L7VS_PROTOMOD_MAX_ADD_BUFSIZE (256) /*! protocol module max addbuffer size */
44 #define L7VS_PROTOMOD_MAX_SERVICE_ARG (256) /*! protocol module max service argument size */
45 #define L7VS_PROTOMOD_OPT_LEN (512)
46 #define L7VS_PROTOMOD_KEY_LEN (256)
48 extern char l7vs_module_path[]; /*! protocol module path */