]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/mtest/mtest.8
Translated -malign-functions=4 to -falign-functions=16 for the new gcc.
[FreeBSD/FreeBSD.git] / usr.sbin / mtest / mtest.8
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
14 .Nm
15 is a small program for testing the multicast membership socket operations
16 and ioctls.  It accepts the following commands, interactively:
17 .Bl -tag -width "a ifname e.e.e.e.e.e" -compact -offset indent
18 .It Ic j Ar g.g.g.g Ar i.i.i.i
19 Join the IP group address
20 .Ar g.g.g.g
21 on the interface with address
22 .Ar i.i.i.i .
23 .Ar i.i.i.i
24 may be specified as 0.0.0.0 to use the default interface.
25 .It Ic l Ar g.g.g.g Ar i.i.i.i
26 Leave the IP group address
27 .Ar g.g.g.g
28 on the interface with address
29 .Ar i.i.i.i .
30 .It Ic a Ar ifname Ar e.e.e.e.e.e
31 Join the Ethernet group address
32 .Ar e.e.e.e.e.e
33 on interface
34 .Ar ifname .
35 .It Ic d Ar ifname Ar e.e.e.e.e.e
36 Leave the Ethernet group address
37 .Ar e.e.e.e.e.e
38 on interface
39 .Ar ifname .
40 .It Ic m Ar ifname Ar 1/0
41 Set or reset ALLMULTI mode on interface
42 .Ar ifname .
43 .It Ic p Ar ifname Ar 1/0
44 Set or reset promiscuous mode on interface
45 .Ar ifname .
46 .It Ic ?\&
47 List legal commands.
48 .It Ic q
49 Quit the program.
50 .El
51 .\" .Sh SEE ALSO
52 .Sh AUTHORS
53 .An Steve Deering
54 .Sh BUGS
55 The command parser is not very flexible.