more man pages, rename socket_mcttl6 to socket_mchopcount6
parent
c30e4855e2
commit
eb87d79391
@ -0,0 +1,18 @@
|
|||||||
|
.TH socket_mchopcount6 3
|
||||||
|
.SH NAME
|
||||||
|
socket_mchopcount6 \- set multicast hop count
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <socket.h>
|
||||||
|
|
||||||
|
int \fBsocket_mchopcount6\fP(int \fIs\fR,char \fITTL\fR);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
socket_mchopcount6 sets the maximum hop count of outgoing multicast
|
||||||
|
packets on the socket \fIs\fR. Each router decrements the packet hop
|
||||||
|
count by one and discards the packet if it reaches zero. Setting the
|
||||||
|
maximum hop count to 1, for example, will limit the packet propagation
|
||||||
|
to the LAN.
|
||||||
|
|
||||||
|
If something goes wrong, socket_mchopcount6 returns -1, setting errno
|
||||||
|
appropriately.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
socket_mcttl4(3), socket_mcjoin4(3), socket_mcleave4(3)
|
@ -0,0 +1,17 @@
|
|||||||
|
.TH socket_mcloop4 3
|
||||||
|
.SH NAME
|
||||||
|
socket_mcloop4 \- set multicast loopback
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <socket.h>
|
||||||
|
|
||||||
|
int \fBsocket_mcloop4\fP(int \fIs\fR,char \fIloop\fR);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
socket_mcloop4 activates multicast loopback for the socket \fIs\fR if
|
||||||
|
\fIloop\fR is non-zero, and deactivates it otherwise. If loopback is
|
||||||
|
activated, packets sent on this socket will be received on the same
|
||||||
|
host.
|
||||||
|
|
||||||
|
If something goes wrong, socket_mcloop4 returns -1, setting errno
|
||||||
|
appropriately.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
socket_mcloop6(3), socket_mcjoin4(3), socket_mcleave4(3)
|
@ -0,0 +1,17 @@
|
|||||||
|
.TH socket_mcloop6 3
|
||||||
|
.SH NAME
|
||||||
|
socket_mcloop6 \- set multicast loopback
|
||||||
|
.SH SYNTAX
|
||||||
|
.B #include <socket.h>
|
||||||
|
|
||||||
|
int \fBsocket_mcloop6\fP(int \fIs\fR,char \fIloop\fR);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
socket_mcloop6 activates multicast loopback for the socket \fIs\fR if
|
||||||
|
\fIloop\fR is non-zero, and deactivates it otherwise. If loopback is
|
||||||
|
activated, packets sent on this socket will be received on the same
|
||||||
|
host.
|
||||||
|
|
||||||
|
If something goes wrong, socket_mcloop6 returns -1, setting errno
|
||||||
|
appropriately.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
socket_mcloop4(3), socket_mcjoin6(3), socket_mcleave6(3)
|
Loading…
Reference in New Issue