summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/netflow
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-01-12 19:16:08 +0000
committerglebius <glebius@FreeBSD.org>2006-01-12 19:16:08 +0000
commit7d18f42630fec076c61c1afee7e91de068675617 (patch)
tree256a7ecbc3bc3f326e93a25e29b2e3e40bf490de /sys/netgraph/netflow
parent941cdcd1a00b407ffbeea0ef9d6eae413c4dfbe3 (diff)
downloadFreeBSD-src-7d18f42630fec076c61c1afee7e91de068675617.zip
FreeBSD-src-7d18f42630fec076c61c1afee7e91de068675617.tar.gz
Mark appropriate commands with NGM_READONLY and NGM_HASREPLY and
bump type cookie.
Diffstat (limited to 'sys/netgraph/netflow')
-rw-r--r--sys/netgraph/netflow/ng_netflow.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netgraph/netflow/ng_netflow.h b/sys/netgraph/netflow/ng_netflow.h
index 79037ee..90de33d 100644
--- a/sys/netgraph/netflow/ng_netflow.h
+++ b/sys/netgraph/netflow/ng_netflow.h
@@ -32,7 +32,7 @@
#define _NG_NETFLOW_H_
#define NG_NETFLOW_NODE_TYPE "netflow"
-#define NGM_NETFLOW_COOKIE 1115810374
+#define NGM_NETFLOW_COOKIE 1137078102
#define NG_NETFLOW_MAXIFACES 512
@@ -44,12 +44,12 @@
/* Netgraph commands understood by netflow node */
enum {
- NGM_NETFLOW_INFO = 1, /* get node info */
- NGM_NETFLOW_IFINFO, /* get iface info */
- NGM_NETFLOW_SHOW, /* show ip cache flow */
- NGM_NETFLOW_SETDLT, /* set data-link type */
- NGM_NETFLOW_SETIFINDEX, /* set interface index */
- NGM_NETFLOW_SETTIMEOUTS, /* set active/inactive flow timeouts */
+ NGM_NETFLOW_INFO = 1|NGM_READONLY|NGM_HASREPLY, /* get node info */
+ NGM_NETFLOW_IFINFO = 2|NGM_READONLY|NGM_HASREPLY, /* get iface info */
+ NGM_NETFLOW_SHOW = 3|NGM_READONLY|NGM_HASREPLY, /* show ip cache flow */
+ NGM_NETFLOW_SETDLT = 4, /* set data-link type */
+ NGM_NETFLOW_SETIFINDEX = 5, /* set interface index */
+ NGM_NETFLOW_SETTIMEOUTS = 6, /* set active/inactive flow timeouts */
};
/* This structure is returned by the NGM_NETFLOW_INFO message */
OpenPOWER on IntegriCloud