1999-07-12 20:12:29 +00:00
|
|
|
.\"
|
1999-08-28 01:35:59 +00:00
|
|
|
.\" $FreeBSD$
|
1999-07-12 20:12:29 +00:00
|
|
|
.\"
|
1996-12-15 21:57:32 +00:00
|
|
|
.\" The following requests are required for all man pages.
|
|
|
|
.Dd December 15, 1996
|
|
|
|
.Os
|
|
|
|
.Dt MTEST 8
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mtest
|
1996-12-15 23:02:48 +00:00
|
|
|
.Nd test multicast membership socket operations and ioctls
|
1996-12-15 21:57:32 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Sh DESCRIPTION
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
1996-12-15 21:57:32 +00:00
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
utility
|
1996-12-15 21:57:32 +00:00
|
|
|
is a small program for testing the multicast membership socket operations
|
2004-07-02 23:13:00 +00:00
|
|
|
and ioctls.
|
|
|
|
It accepts the following commands, interactively:
|
1996-12-15 21:57:32 +00:00
|
|
|
.Bl -tag -width "a ifname e.e.e.e.e.e" -compact -offset indent
|
|
|
|
.It Ic j Ar g.g.g.g Ar i.i.i.i
|
|
|
|
Join the IP group address
|
|
|
|
.Ar g.g.g.g
|
|
|
|
on the interface with address
|
|
|
|
.Ar i.i.i.i .
|
|
|
|
.Ar i.i.i.i
|
|
|
|
may be specified as 0.0.0.0 to use the default interface.
|
|
|
|
.It Ic l Ar g.g.g.g Ar i.i.i.i
|
|
|
|
Leave the IP group address
|
|
|
|
.Ar g.g.g.g
|
|
|
|
on the interface with address
|
|
|
|
.Ar i.i.i.i .
|
|
|
|
.It Ic a Ar ifname Ar e.e.e.e.e.e
|
1996-12-15 23:02:48 +00:00
|
|
|
Join the Ethernet group address
|
1996-12-15 21:57:32 +00:00
|
|
|
.Ar e.e.e.e.e.e
|
|
|
|
on interface
|
|
|
|
.Ar ifname .
|
|
|
|
.It Ic d Ar ifname Ar e.e.e.e.e.e
|
1996-12-15 23:02:48 +00:00
|
|
|
Leave the Ethernet group address
|
1996-12-15 21:57:32 +00:00
|
|
|
.Ar e.e.e.e.e.e
|
|
|
|
on interface
|
|
|
|
.Ar ifname .
|
|
|
|
.It Ic m Ar ifname Ar 1/0
|
|
|
|
Set or reset ALLMULTI mode on interface
|
|
|
|
.Ar ifname .
|
|
|
|
.It Ic p Ar ifname Ar 1/0
|
|
|
|
Set or reset promiscuous mode on interface
|
|
|
|
.Ar ifname .
|
2000-12-27 15:30:30 +00:00
|
|
|
.It Ic ?\&
|
1996-12-15 21:57:32 +00:00
|
|
|
List legal commands.
|
|
|
|
.It Ic q
|
|
|
|
Quit the program.
|
|
|
|
.El
|
|
|
|
.\" .Sh SEE ALSO
|
|
|
|
.Sh AUTHORS
|
1997-10-01 06:27:34 +00:00
|
|
|
.An Steve Deering
|
1996-12-15 21:57:32 +00:00
|
|
|
.Sh BUGS
|
|
|
|
The command parser is not very flexible.
|