4 .\" The following requests are required for all man pages.
10 .Nd test multicast membership socket operations and ioctls
17 is a small program for testing the multicast membership socket operations
19 It 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
22 Join the IP group address
24 on the interface with address
27 may 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
29 Leave the IP group address
31 on the interface with address
33 .It Ic a Ar ifname Ar e.e.e.e.e.e
34 Join the Ethernet group address
38 .It Ic d Ar ifname Ar e.e.e.e.e.e
39 Leave the Ethernet group address
43 .It Ic m Ar ifname Ar 1/0
44 Set or reset ALLMULTI mode on interface
46 .It Ic p Ar ifname Ar 1/0
47 Set or reset promiscuous mode on interface
50 .It Ic i Ar g.g.g.g Ar i.i.i.i Ar n Ar x.x.x.x ...
51 Set the socket with group membership of
55 to include filter mode, and add
57 sources beginning with
59 to the inclusion filter list.
61 .It Ic e Ar g.g.g.g Ar i.i.i.i Ar n Ar x.x.x.x ...
62 Set the socket with group membership of
66 to exclude filter mode, and add
68 sources beginning with
70 to the exclusion filter list.
72 .It Ic t Ar g.g.g.g Ar i.i.i.i Ar s.s.s.s
73 Set the socket with group membership of
77 to block traffic from source
80 .It Ic b Ar g.g.g.g Ar i.i.i.i Ar s.s.s.s
81 Set the socket with group membership of
85 to allow traffic from source
88 .It Ic g Ar g.g.g.g Ar i.i.i.i Ar n
91 source filter entries for group
97 Read commands from the file
113 .%T "Socket Interface Extensions for Multicast Filters"
119 .An "Wilbert De Graaf"