From f83adcb4c987668e99d3e0225666981ac2a3896a Mon Sep 17 00:00:00 2001 From: danielel Date: Mon, 15 Jan 2007 12:16:39 +0000 Subject: [PATCH] Wirefilter can now connect two local plugs using libvdeplug (-v plug1:plug2 option). git-svn-id: https://vde.svn.sourceforge.net/svnroot/vde/trunk@129 d37a7db1-d92d-0410-89df-f68f52f87b57 --- vde-2/doc/wirefilter.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vde-2/doc/wirefilter.1 b/vde-2/doc/wirefilter.1 index f3ccafe..dfce715 100644 --- a/vde-2/doc/wirefilter.1 +++ b/vde-2/doc/wirefilter.1 @@ -13,6 +13,7 @@ wirefilter \- Wire packet filter for Virtual Distributed Ethernet [\fB\-n\fI noise_factor\fR] [\fB\-m\fI mtu_size\fR] [\fB\-M\fI mgmt socket\fR] +[\fB\-v\fI vde_plug1:vde_plug2\fR] [\fB-N\fR] .br .SH DESCRIPTION @@ -27,6 +28,11 @@ dpipe vde_plug /tmp/s1 = wirefilter -l 10 = vde_plug /tmp/s2 creates a wire between two vde_switches (with sockets /tmp/s1 and /tmp/s2 respectively). This cable looses 10% of the packets in each direction. +The same cable can be created using: + +.B +wirefilter -v /tmp/s1:/tmp/s2 -l 10 + .SH OPTIONS .TP .B \-l "\fIloss\fP" @@ -73,6 +79,10 @@ nofifo. with -N packets can be reordered. .B \-M "\fImgmt socket\fP" the unix socket where the parameters (loss percentage, delay etc) can be checked and changed runtime. unixterm(1) can be used as a remote terminal for wirefilter. +.TP +.B \-v "\fIvde_plug1:vde_plug2\fP" +If this option is used, the two local vde_plugs (vde_plug1 and vde_plug2) will be connected each other instead of stdin/stdout, +using the libvdeplug libraries. .SH NOTICE Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik" -- 2.11.4.GIT