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