1.\" The following requests are required for all man pages. 2.Dd December 15, 1996 3.Os 4.Dt MTEST 8 5.Sh NAME 6.Nm mtest 7.Nd test multicast membership socket operations and ioctls 8.Sh SYNOPSIS 9.Nm 10.Sh DESCRIPTION 11.Nm 12is a small program for testing the multicast membership socket operations 13and ioctls. It accepts the following commands, interactively: 14.Bl -tag -width "a ifname e.e.e.e.e.e" -compact -offset indent 15.It Ic j Ar g.g.g.g Ar i.i.i.i 16Join the IP group address 17.Ar g.g.g.g 18on the interface with address 19.Ar i.i.i.i . 20.Ar i.i.i.i 21may be specified as 0.0.0.0 to use the default interface. 22.It Ic l Ar g.g.g.g Ar i.i.i.i 23Leave the IP group address 24.Ar g.g.g.g 25on the interface with address 26.Ar i.i.i.i . 27.It Ic a Ar ifname Ar e.e.e.e.e.e 28Join the Ethernet group address 29.Ar e.e.e.e.e.e 30on interface 31.Ar ifname . 32.It Ic d Ar ifname Ar e.e.e.e.e.e 33Leave the Ethernet group address 34.Ar e.e.e.e.e.e 35on interface 36.Ar ifname . 37.It Ic m Ar ifname Ar 1/0 38Set or reset ALLMULTI mode on interface 39.Ar ifname . 40.It Ic p Ar ifname Ar 1/0 41Set or reset promiscuous mode on interface 42.Ar ifname . 43.It Ic ? 44List legal commands. 45.It Ic q 46Quit the program. 47.El 48.\" .Sh SEE ALSO 49.Sh AUTHORS 50Steve Deering 51.Sh BUGS 52The command parser is not very flexible. 53