summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchctl/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/switchctl/parser.h')
-rw-r--r--usr.sbin/switchctl/parser.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.sbin/switchctl/parser.h b/usr.sbin/switchctl/parser.h
index 6f5feb5fd40..83fb4896ba9 100644
--- a/usr.sbin/switchctl/parser.h
+++ b/usr.sbin/switchctl/parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.h,v 1.3 2016/11/15 08:15:07 reyk Exp $ */
+/* $OpenBSD: parser.h,v 1.4 2016/11/24 09:23:11 reyk Exp $ */
/*
* Copyright (c) 2007-2015 Reyk Floeter <reyk@openbsd.org>
@@ -21,6 +21,9 @@
enum actions {
NONE,
+ FLOW_ADD,
+ FLOW_DELETE,
+ FLOW_MODIFY,
DUMP_DESC,
DUMP_FEATURES,
DUMP_FLOWS,
@@ -42,11 +45,13 @@ struct parse_result {
enum actions action;
struct imsgbuf *ibuf;
char *path;
- char *caname;
- char *pass;
struct switch_address uri;
struct sockaddr_storage addr;
+ struct oflowmod_ctx fctx;
+ struct ibuf *fbuf;
+ int table;
int quiet;
+ int verbose;
};
#define HOST_IPADDR 1