1*86d7f5d3SJohn Marino.\" 2*86d7f5d3SJohn Marino.\" $FreeBSD: src/usr.sbin/mtest/mtest.8,v 1.5.2.2 2003/03/11 22:31:29 trhodes Exp $ 3*86d7f5d3SJohn Marino.\" 4*86d7f5d3SJohn Marino.Dd December 15, 1996 5*86d7f5d3SJohn Marino.Dt MTEST 8 6*86d7f5d3SJohn Marino.Os 7*86d7f5d3SJohn Marino.Sh NAME 8*86d7f5d3SJohn Marino.Nm mtest 9*86d7f5d3SJohn Marino.Nd test multicast membership socket operations and ioctls 10*86d7f5d3SJohn Marino.Sh SYNOPSIS 11*86d7f5d3SJohn Marino.Nm 12*86d7f5d3SJohn Marino.Sh DESCRIPTION 13*86d7f5d3SJohn MarinoThe 14*86d7f5d3SJohn Marino.Nm 15*86d7f5d3SJohn Marinoutility 16*86d7f5d3SJohn Marinois a small program for testing the multicast membership socket operations 17*86d7f5d3SJohn Marinoand ioctls. It accepts the following commands, interactively: 18*86d7f5d3SJohn Marino.Bl -tag -width "a ifname e.e.e.e.e.e" -compact -offset indent 19*86d7f5d3SJohn Marino.It Ic j Ar g.g.g.g Ar i.i.i.i 20*86d7f5d3SJohn MarinoJoin the IP group address 21*86d7f5d3SJohn Marino.Ar g.g.g.g 22*86d7f5d3SJohn Marinoon the interface with address 23*86d7f5d3SJohn Marino.Ar i.i.i.i . 24*86d7f5d3SJohn Marino.Ar i.i.i.i 25*86d7f5d3SJohn Marinomay be specified as 0.0.0.0 to use the default interface. 26*86d7f5d3SJohn Marino.It Ic l Ar g.g.g.g Ar i.i.i.i 27*86d7f5d3SJohn MarinoLeave the IP group address 28*86d7f5d3SJohn Marino.Ar g.g.g.g 29*86d7f5d3SJohn Marinoon the interface with address 30*86d7f5d3SJohn Marino.Ar i.i.i.i . 31*86d7f5d3SJohn Marino.It Ic a Ar ifname Ar e.e.e.e.e.e 32*86d7f5d3SJohn MarinoJoin the Ethernet group address 33*86d7f5d3SJohn Marino.Ar e.e.e.e.e.e 34*86d7f5d3SJohn Marinoon interface 35*86d7f5d3SJohn Marino.Ar ifname . 36*86d7f5d3SJohn Marino.It Ic d Ar ifname Ar e.e.e.e.e.e 37*86d7f5d3SJohn MarinoLeave the Ethernet group address 38*86d7f5d3SJohn Marino.Ar e.e.e.e.e.e 39*86d7f5d3SJohn Marinoon interface 40*86d7f5d3SJohn Marino.Ar ifname . 41*86d7f5d3SJohn Marino.It Ic m Ar ifname Ar 1/0 42*86d7f5d3SJohn MarinoSet or reset ALLMULTI mode on interface 43*86d7f5d3SJohn Marino.Ar ifname . 44*86d7f5d3SJohn Marino.It Ic p Ar ifname Ar 1/0 45*86d7f5d3SJohn MarinoSet or reset promiscuous mode on interface 46*86d7f5d3SJohn Marino.Ar ifname . 47*86d7f5d3SJohn Marino.It Ic ?\& 48*86d7f5d3SJohn MarinoList legal commands. 49*86d7f5d3SJohn Marino.It Ic q 50*86d7f5d3SJohn MarinoQuit the program. 51*86d7f5d3SJohn Marino.El 52*86d7f5d3SJohn Marino.\" .Sh SEE ALSO 53*86d7f5d3SJohn Marino.Sh AUTHORS 54*86d7f5d3SJohn Marino.An Steve Deering 55*86d7f5d3SJohn Marino.Sh BUGS 56*86d7f5d3SJohn MarinoThe command parser is not very flexible. 57