2 .\" $FreeBSD: src/usr.sbin/mtest/mtest.8,v 1.5.2.2 2003/03/11 22:31:29 trhodes Exp $
9 .Nd test multicast membership socket operations and ioctls
16 is a small program for testing the multicast membership socket operations
17 and ioctls. It accepts the following commands, interactively:
18 .Bl -tag -width "a ifname e.e.e.e.e.e" -compact -offset indent
19 .It Ic j Ar g.g.g.g Ar i.i.i.i
20 Join the IP group address
22 on the interface with address
25 may be specified as 0.0.0.0 to use the default interface.
26 .It Ic l Ar g.g.g.g Ar i.i.i.i
27 Leave the IP group address
29 on the interface with address
31 .It Ic a Ar ifname Ar e.e.e.e.e.e
32 Join the Ethernet group address
36 .It Ic d Ar ifname Ar e.e.e.e.e.e
37 Leave the Ethernet group address
41 .It Ic m Ar ifname Ar 1/0
42 Set or reset ALLMULTI mode on interface
44 .It Ic p Ar ifname Ar 1/0
45 Set or reset promiscuous mode on interface
56 The command parser is not very flexible.