summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-01-26 14:54:39 +0000
committerharti <harti@FreeBSD.org>2004-01-26 14:54:39 +0000
commitc4f8c33a9a3e15f4defd14c68239ba9df07e499d (patch)
tree38ede4501dc211c4f501983020236a5ab8a82cc4 /sys/netgraph
parent10f9fcc036b9fc449812c1171ec19d8313237284 (diff)
downloadFreeBSD-src-c4f8c33a9a3e15f4defd14c68239ba9df07e499d.zip
FreeBSD-src-c4f8c33a9a3e15f4defd14c68239ba9df07e499d.tar.gz
Define the new command NGM_SOURCE_START_NOW to allow generation of
traffic for non-ethernet hooks. This commit should have been packaged with the commit to ng_source.c.
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_source.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/ng_source.h b/sys/netgraph/ng_source.h
index f9534bc..3d93baf 100644
--- a/sys/netgraph/ng_source.h
+++ b/sys/netgraph/ng_source.h
@@ -89,6 +89,7 @@ enum {
NGM_SOURCE_START, /* start sending queued data */
NGM_SOURCE_STOP, /* stop sending queued data */
NGM_SOURCE_CLR_DATA, /* clear the queued data */
+ NGM_SOURCE_START_NOW, /* start on non-ether output */
};
#endif /* _NETGRAPH_NG_SOURCE_H_ */
OpenPOWER on IntegriCloud