relayd is a daemon to relay and dynamically redirect incoming connections to a target host. Its main purposes are to run as a load-balancer, application layer gateway, or transparent proxy. The daemon is able to monitor groups of hosts for availability, which is determined by checking for a specific service common to a host group. WWW: http://spootnik.org/relayd/ # This port will work on $OSVERSION >= 700049. # If you want to use on RELENG_6, apply a patch in # http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/pf_table.c.diff?r1=1.67&r2=1.68
21 lines
572 B
C
21 lines
572 B
C
--- relayctl/parser.c.orig Wed May 30 07:41:48 2007
|
|
+++ relayctl/parser.c Mon Jan 7 21:32:16 2008
|
|
@@ -18,7 +18,7 @@
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
-#include <sys/types.h>
|
|
+#include <sys/param.h>
|
|
#include <sys/socket.h>
|
|
#include <sys/queue.h>
|
|
#include <netinet/in.h>
|
|
@@ -118,6 +118,9 @@
|
|
};
|
|
|
|
static struct parse_result res;
|
|
+
|
|
+const struct token *match_token(const char *, const struct token []);
|
|
+void show_valid_args(const struct token []);
|
|
|
|
struct parse_result *
|
|
parse(int argc, char *argv[])
|