diff options
Diffstat (limited to 'usr/src/man/man3socket')
36 files changed, 348 insertions, 174 deletions
diff --git a/usr/src/man/man3socket/accept.3socket b/usr/src/man/man3socket/accept.3socket index 1cd0dc2546..2a66a51ab1 100644 --- a/usr/src/man/man3socket/accept.3socket +++ b/usr/src/man/man3socket/accept.3socket @@ -33,7 +33,7 @@ present on the queue and the socket is not marked as non-blocking, \fBaccept()\fR blocks the caller until a connection is present. If the socket is marked as non-blocking and no pending connections are present on the queue, \fBaccept()\fR returns an error as described below. The \fBaccept()\fR -function uses the \fBnetconfig\fR(4) file to determine the \fBSTREAMS\fR device +function uses the \fBnetconfig\fR(5) file to determine the \fBSTREAMS\fR device file name associated with \fIs\fR. This is the device on which the connect indication will be accepted. The accepted socket, \fIns\fR, is used to read and write data to and from the socket that connected to \fIns\fR. It is not used to @@ -92,7 +92,7 @@ was called on it. This sets the socket into non-blocking mode. See .RS 12n The accepted socket will have the \fBO_NONBLOCK\fR flag set as if \fBfcntl()\fR was called on it. This sets the socket into non-blocking mode -(POSIX; see \fBstandards(5)\fR). See \fBO_NONBLOCK\fR in \fBfcntl.h(3HEAD)\fR +(POSIX; see \fBstandards\fR(7)). See \fBO_NONBLOCK\fR in \fBfcntl.h(3HEAD)\fR for more details. .RE .sp @@ -237,7 +237,7 @@ bitwise inclusive-OR of \fBSOCK_CLOEXEC\fR, \fBSOCK_NONBLOCK\fR, and .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -254,5 +254,5 @@ MT-Level Safe .LP \fBpoll\fR(2), \fBbind\fR(3SOCKET), \fBconnect\fR(3SOCKET), \fBlisten\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), \fBselect\fR(3C), -\fBsocket.h\fR(3HEAD), \fBsocket\fR(3SOCKET), \fBnetconfig\fR(4), -\fBattributes\fR(5), \fBfcntl.h(3HEAD)\fR, \fBfcntl(2)\fR, \fBstandards(5)\fR +\fBsocket.h\fR(3HEAD), \fBsocket\fR(3SOCKET), \fBnetconfig\fR(5), +\fBattributes\fR(7), \fBfcntl.h(3HEAD)\fR, \fBfcntl(2)\fR, \fBstandards\fR(7) diff --git a/usr/src/man/man3socket/bind.3socket b/usr/src/man/man3socket/bind.3socket index 8c0f1cdfd7..ec76f57bd9 100644 --- a/usr/src/man/man3socket/bind.3socket +++ b/usr/src/man/man3socket/bind.3socket @@ -172,7 +172,7 @@ The inode would reside on a read-only file system. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -187,8 +187,12 @@ MT-Level Safe .SH SEE ALSO .LP -\fBunlink\fR(2), \fBsocket\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), -\fBattributes\fR(5), \fBprivileges\fR(5), \fBsocket.h\fR(3HEAD) +.BR unlink (2), +.BR socket.h (3HEAD), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR attributes (7), +.BR privileges (7) .SH NOTES .LP Binding a name in the UNIX domain creates a socket in the file system that must diff --git a/usr/src/man/man3socket/connect.3socket b/usr/src/man/man3socket/connect.3socket index 53659f39cd..c0018566a7 100644 --- a/usr/src/man/man3socket/connect.3socket +++ b/usr/src/man/man3socket/connect.3socket @@ -453,7 +453,7 @@ type \fIs\fR. For example, \fIs\fR is a \fBSOCK_DGRAM\fR socket, while .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -468,6 +468,11 @@ MT-Level Safe .SH SEE ALSO .LP -\fBclose\fR(2), \fBaccept\fR(3SOCKET), \fBgetsockname\fR(3SOCKET), -\fBselect\fR(3C), \fBsocket\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), -\fBsocket.h\fR(3HEAD), \fBattributes\fR(5) +.BR close (2), +.BR select (3C), +.BR socket.h (3HEAD), +.BR accept (3SOCKET), +.BR getsockname (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR attributes (7) diff --git a/usr/src/man/man3socket/ethers.3socket b/usr/src/man/man3socket/ethers.3socket index a1bb59d838..f307a31a69 100644 --- a/usr/src/man/man3socket/ethers.3socket +++ b/usr/src/man/man3socket/ethers.3socket @@ -88,14 +88,14 @@ do the mapping, both these functions may lookup one or more of the following sources: the ethers file and the \fBNIS\fR maps \fBethers.byname\fR and \fBethers.byaddr\fR. The sources and their lookup order are specified in the \fB/etc/nsswitch.conf\fR file. See -\fBnsswitch.conf\fR(4) for details. +\fBnsswitch.conf\fR(5) for details. .sp .LP The function \fBether_line()\fR scans a line, pointed to by \fIl\fR, and sets the hostname and the Ethernet number, pointed to by \fIe\fR. The string pointed to by hostname must be long enough to hold the hostname and a \fINULL\fR character. The function returns zero upon success and non-zero upon failure. -The format of the scanned line is described by \fBethers\fR(4). +The format of the scanned line is described by \fBethers\fR(5). .SH FILES .ne 2 .na @@ -116,7 +116,7 @@ configuration file for the name service switch .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -131,4 +131,6 @@ MT-Level MT-Safe .SH SEE ALSO .LP -\fBethers\fR(4), \fBnsswitch.conf\fR(4), \fBattributes\fR(5) +.BR ethers (5), +.BR nsswitch.conf (5), +.BR attributes (7) diff --git a/usr/src/man/man3socket/getaddrinfo.3socket b/usr/src/man/man3socket/getaddrinfo.3socket index 6e24126b66..fa14f040f8 100644 --- a/usr/src/man/man3socket/getaddrinfo.3socket +++ b/usr/src/man/man3socket/getaddrinfo.3socket @@ -333,7 +333,7 @@ Prefer a destination that is reachable through the IP routing table. T} _ Prefer matching scope. T{ -Prefer a destination whose scope is equal to the scope of its source address. See \fBinet6\fR(7P) for the definition of scope used by this rule. +Prefer a destination whose scope is equal to the scope of its source address. See \fBinet6\fR(4P) for the definition of scope used by this rule. T} _ Avoid link-local source. T{ @@ -345,13 +345,13 @@ Prefer a destination that is not deprecated (\fBIFF_DEPRECATED\fR). T} _ T{ -Prefer matching label. This rule uses labels that are obtained through the IPv6 default address selection policy table. See \fBipaddrsel\fR(1M) for a description of the default contents of the table and how the table is configured. +Prefer matching label. This rule uses labels that are obtained through the IPv6 default address selection policy table. See \fBipaddrsel\fR(8) for a description of the default contents of the table and how the table is configured. T} T{ Prefer a destination whose label is equal to the label of its source address. T} _ T{ -Prefer higher precedence. This rule uses precedence values that are obtained through the IPv6 default address selection policy table. See \fBipaddrsel\fR(1M) for a description of the default contents of the table and how the table is configured. +Prefer higher precedence. This rule uses precedence values that are obtained through the IPv6 default address selection policy table. See \fBipaddrsel\fR(8) for a description of the default contents of the table and how the table is configured. T} T{ Prefer the destination whose precedence is higher than the other destination. T} @@ -361,7 +361,7 @@ Prefer a destination if the interface that is used for sending packets to that d T} _ T{ -Prefer smaller scope. See \fBinet6\fR(7P) for the definition of this rule. +Prefer smaller scope. See \fBinet6\fR(4P) for the definition of this rule. T} T{ Prefer the destination whose scope is smaller than the other destination. T} @@ -512,7 +512,7 @@ configuration file for the name service switch .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for description of the following attributes: +See \fBattributes\fR(7) for description of the following attributes: .sp .sp @@ -526,15 +526,24 @@ Interface Stability Committed _ MT-Level MT-Safe _ -Standard See \fBstandards\fR(5). +Standard See \fBstandards\fR(7). .TE .SH SEE ALSO .LP -\fBipaddrsel\fR(1M), \fBgethostbyname\fR(3NSL), \fBgetipnodebyname\fR(3SOCKET), -\fBhtonl\fR(3C), \fBinet\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), -\fBnetdb.h\fR(3HEAD), \fBsocket\fR(3SOCKET), \fBhosts\fR(4), -\fBnsswitch.conf\fR(4), \fBattributes\fR(5), \fBstandards\fR(5), \fBinet6\fR(7P) +.BR htonl (3C), +.BR netdb.h (3HEAD), +.BR gethostbyname (3NSL), +.BR getipnodebyname (3SOCKET), +.BR inet (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR inet6 (4P), +.BR hosts (5), +.BR nsswitch.conf (5), +.BR attributes (7), +.BR standards (7), +.BR ipaddrsel (8) .sp .LP Draves, R. \fIRFC 3484, Default Address Selection for Internet Protocol version diff --git a/usr/src/man/man3socket/getifaddrs.3socket b/usr/src/man/man3socket/getifaddrs.3socket index 69324271af..274ae8f720 100644 --- a/usr/src/man/man3socket/getifaddrs.3socket +++ b/usr/src/man/man3socket/getifaddrs.3socket @@ -92,7 +92,7 @@ or \fBNULL\fR if one is not set. If the \fBIFF_BROADCAST\fR bit is set in \fIifa_flags\fR, then \fIifa_broadaddr\fR is valid, or \fBNULL\fR if not present. If the \fBIFF_POINTOPOINT\fR bit is set, then \fIifa_dstaddr\fR is valid, or \fBNULL\fR -if not present. These two flags are mutually exclusive; see \fBif_tcp\fR(7P) +if not present. These two flags are mutually exclusive; see \fBif_tcp\fR(4P) for more information. .sp @@ -129,14 +129,20 @@ MT-Level MT-Safe .SH SEE ALSO .LP -\fBipadm\fR(1M), \fBifconfig\fR(1M), \fBioctl\fR(2), \fBmalloc\fR(3C), -\fBsocket\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), \fBsocket.h\fR(3HEAD), -\fBif_tcp\fR(7P), \fBattributes\fR(5) +.BR ioctl (2), +.BR malloc (3C), +.BR socket.h (3HEAD), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR if_tcp (4P), +.BR attributes (7), +.BR ifconfig (8), +.BR ipadm (8) .SH NOTES .LP On an illumos system, this function lists only interfaces with the \fBIFF_UP\fR -flag set; see \fBif_tcp\fR(7P) and \fBifconfig\fR(1M) for more information. +flag set; see \fBif_tcp\fR(4P) and \fBifconfig\fR(8) for more information. .SH BUGS .LP diff --git a/usr/src/man/man3socket/getipnodebyname.3socket b/usr/src/man/man3socket/getipnodebyname.3socket index 89e6100e03..cc1418254b 100644 --- a/usr/src/man/man3socket/getipnodebyname.3socket +++ b/usr/src/man/man3socket/getipnodebyname.3socket @@ -487,7 +487,7 @@ hostname. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -504,9 +504,14 @@ MT-Level Safe .SH SEE ALSO .LP -\fBgetaddrinfo\fR(3SOCKET), \fBgethostbyname\fR(3NSL), \fBhtonl\fR(3C), -\fBinet\fR(3SOCKET), \fBnetdb.h\fR(3HEAD), \fBhosts\fR(4), -\fBnsswitch.conf\fR(4), \fBattributes\fR(5) +.BR htonl (3C), +.BR netdb.h (3HEAD), +.BR gethostbyname (3NSL), +.BR getaddrinfo (3SOCKET), +.BR inet (3SOCKET), +.BR hosts (5), +.BR nsswitch.conf (5), +.BR attributes (7) .SH NOTES .LP No enumeration functions are provided for IPv6. Existing enumeration functions diff --git a/usr/src/man/man3socket/getnetbyname.3socket b/usr/src/man/man3socket/getnetbyname.3socket index acc0b88606..c2d4fdfbe3 100644 --- a/usr/src/man/man3socket/getnetbyname.3socket +++ b/usr/src/man/man3socket/getnetbyname.3socket @@ -58,7 +58,7 @@ getnetent_r, setnetent, endnetent \- get network entry .LP These functions are used to obtain entries for networks. An entry may come from any of the sources for \fBnetworks\fR specified in the \fB/etc/nsswitch.conf\fR -file. See \fBnsswitch.conf\fR(4). +file. See \fBnsswitch.conf\fR(5). .sp .LP \fBgetnetbyname()\fR searches for a network entry with the network name @@ -242,7 +242,7 @@ configuration file for the name service switch .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -258,9 +258,14 @@ MT-Level MT-Safe .SH SEE ALSO .sp .LP -\fBIntro\fR(2), \fBIntro\fR(3), \fBbyteorder\fR(3SOCKET), \fBinet\fR(3SOCKET), -\fBnetdb.h\fR(3HEAD), \fBnetworks\fR(4), \fBnsswitch.conf\fR(4), -\fBattributes\fR(5) +.BR Intro (2), +.BR Intro (3), +.BR netdb.h (3HEAD), +.BR byteorder (3SOCKET), +.BR inet (3SOCKET), +.BR networks (5), +.BR nsswitch.conf (5), +.BR attributes (7) .sp .LP Fuller, V., Li, T., Yu, J., and Varadhan, K. \fIRFC 1519, Classless @@ -288,4 +293,4 @@ Multithread Applications\fR, for information about the use of the .LP Use of the enumeration interfaces \fBgetnetent()\fR and \fBgetnetent_r()\fR is discouraged; enumeration may not be supported for all database sources. The -semantics of enumeration are discussed further in \fBnsswitch.conf\fR(4). +semantics of enumeration are discussed further in \fBnsswitch.conf\fR(5). diff --git a/usr/src/man/man3socket/getpeername.3socket b/usr/src/man/man3socket/getpeername.3socket index d1a6072637..dc4505878c 100644 --- a/usr/src/man/man3socket/getpeername.3socket +++ b/usr/src/man/man3socket/getpeername.3socket @@ -78,7 +78,7 @@ The argument \fIs\fR is not a socket. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -93,6 +93,10 @@ MT-Level Safe .SH SEE ALSO .LP -\fBaccept\fR(3SOCKET), \fBbind\fR(3SOCKET), \fBgetsockname\fR(3SOCKET), -\fBsockaddr\fR(3SOCKET), -\fBsocket\fR(3SOCKET), \fBattributes\fR(5), \fBsocket.h\fR(3HEAD) +.BR socket.h (3HEAD), +.BR accept (3SOCKET), +.BR bind (3SOCKET), +.BR getsockname (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR attributes (7) diff --git a/usr/src/man/man3socket/getprotobyname.3socket b/usr/src/man/man3socket/getprotobyname.3socket index 3a4d146c44..f4dd806210 100644 --- a/usr/src/man/man3socket/getprotobyname.3socket +++ b/usr/src/man/man3socket/getprotobyname.3socket @@ -75,10 +75,10 @@ each return a protocol entry. .sp .LP The entry may come from one of the following sources: the protocols file (see -\fBprotocols\fR(4)), the \fBNIS\fR maps ``protocols.byname'' and +\fBprotocols\fR(5)), the \fBNIS\fR maps ``protocols.byname'' and ``protocols.bynumber''. The sources and their lookup order are specified in the \fB/etc/nsswitch.conf\fR file (see -\fBnsswitch.conf\fR(4) for details). Some name services such as NIS will return +\fBnsswitch.conf\fR(5) for details). Some name services such as NIS will return only one name for a host, whereas others such as DNS will return all aliases. .sp @@ -169,7 +169,7 @@ the result. \fB/etc/nsswitch.conf\fR .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -184,8 +184,11 @@ MT-Level See \fBNOTES\fR below. .SH SEE ALSO .LP -\fBIntro\fR(3), \fBnsswitch.conf\fR(4), \fBprotocols\fR(4), -\fBattributes\fR(5), \fBnetdb.h\fR(3HEAD) +.BR Intro (3), +.BR netdb.h (3HEAD), +.BR nsswitch.conf (5), +.BR protocols (5), +.BR attributes (7) .SH NOTES .LP Although \fBgetprotobyname_r()\fR, \fBgetprotobynumber_r()\fR, and @@ -218,7 +221,7 @@ Use of \fBgetprotoent_r()\fR and \fBgetprotoent()\fR is discouraged; enumeration is well-defined for the protocols file and is supported (albeit inefficiently) for \fBNIS\fR but in general may not be well-defined. The semantics of enumeration are discussed in -\fBnsswitch.conf\fR(4). +\fBnsswitch.conf\fR(5). .SH BUGS .LP Only the Internet protocols are currently understood. diff --git a/usr/src/man/man3socket/getservbyname.3socket b/usr/src/man/man3socket/getservbyname.3socket index b9b2f1a98b..2779af5af0 100644 --- a/usr/src/man/man3socket/getservbyname.3socket +++ b/usr/src/man/man3socket/getservbyname.3socket @@ -56,7 +56,7 @@ getservent_r, setservent, endservent \- get service entry .LP These functions are used to obtain entries for Internet services. An entry may come from any of the sources for \fBservices\fR specified in the -\fB/etc/nsswitch.conf\fR file. See \fBnsswitch.conf\fR(4). +\fB/etc/nsswitch.conf\fR file. See \fBnsswitch.conf\fR(5). .sp .LP The \fBgetservbyname()\fR and \fBgetservbyport()\fR functions sequentially @@ -266,7 +266,7 @@ configuration file for the name-service switch .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -283,9 +283,15 @@ T} .SH SEE ALSO .LP -\fBIntro\fR(2), \fBIntro\fR(3), \fBbyteorder\fR(3C), \fBnetdir\fR(3NSL), -\fBnetconfig\fR(4), \fBnsswitch.conf\fR(4), \fBservices\fR(4), -\fBattributes\fR(5), \fBnetdb.h\fR(3HEAD) +.BR Intro (2), +.BR Intro (3), +.BR byteorder (3C), +.BR netdb.h (3HEAD), +.BR netdir (3NSL), +.BR netconfig (5), +.BR nsswitch.conf (5), +.BR services (5), +.BR attributes (7) .SH WARNINGS .LP The reentrant interfaces \fBgetservbyname_r()\fR, \fBgetservbyport_r()\fR, and @@ -304,10 +310,10 @@ To ensure that they all return consistent results, \fBgetservbyname()\fR, \fBgetservbyname_r()\fR, and \fBnetdir_getbyname()\fR are implemented in terms of the same internal library function. This function obtains the system-wide source lookup policy based on the \fBinet\fR family entries in -\fBnetconfig\fR(4) and the \fBservices:\fR entry in \fBnsswitch.conf\fR(4). +\fBnetconfig\fR(5) and the \fBservices:\fR entry in \fBnsswitch.conf\fR(5). Similarly, \fBgetservbyport()\fR, \fBgetservbyport_r()\fR, and \fBnetdir_getbyaddr()\fR are implemented in terms of the same internal library -function. If the \fBinet\fR family entries in \fBnetconfig\fR(4) have a ``-'' +function. If the \fBinet\fR family entries in \fBnetconfig\fR(5) have a ``-'' in the last column for nametoaddr libraries, then the entry for \fBservices\fR in \fBnsswitch.conf\fR will be used; otherwise the nametoaddr libraries in that column will be used, and \fBnsswitch.conf\fR will not be consulted. @@ -327,4 +333,4 @@ Multithread Applications\fR, for information about the use of the .LP Use of the enumeration interfaces \fBgetservent()\fR and \fBgetservent_r()\fR is discouraged; enumeration may not be supported for all database sources. The -semantics of enumeration are discussed further in \fBnsswitch.conf\fR(4). +semantics of enumeration are discussed further in \fBnsswitch.conf\fR(5). diff --git a/usr/src/man/man3socket/getsockname.3socket b/usr/src/man/man3socket/getsockname.3socket index 98e134bddd..c1a75d369e 100644 --- a/usr/src/man/man3socket/getsockname.3socket +++ b/usr/src/man/man3socket/getsockname.3socket @@ -68,7 +68,7 @@ The argument \fIs\fR is not a socket. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -83,5 +83,8 @@ MT-Level Safe .SH SEE ALSO .LP -\fBbind\fR(3SOCKET), \fBgetpeername\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), -\fBsocket\fR(3SOCKET), \fBattributes\fR(5) +.BR bind (3SOCKET), +.BR getpeername (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR attributes (7) diff --git a/usr/src/man/man3socket/getsockopt.3socket b/usr/src/man/man3socket/getsockopt.3socket index d6b9002229..7e2c55509f 100644 --- a/usr/src/man/man3socket/getsockopt.3socket +++ b/usr/src/man/man3socket/getsockopt.3socket @@ -290,7 +290,7 @@ increased for high-volume connections or may be decreased to limit the possible backlog of incoming data. The maximum buffer size for \fBUDP\fR is determined by the value of the \fBndd\fR variable \fBudp_max_buf\fR. The maximum buffer size for \fBTCP\fR is determined the value of the \fBndd\fR variable -\fBtcp_max_buf\fR. Use the \fBndd\fR(1M) utility to determine the current +\fBtcp_max_buf\fR. Use the \fBndd\fR(8) utility to determine the current default values. See the \fISolaris Tunable Parameters Reference Manual\fR for information on setting the values of \fBudp_max_buf\fR and \fBtcp_max_buf\fR. At present, lowering \fBSO_RCVBUF\fR on a TCP connection after it has been @@ -315,7 +315,7 @@ the native data format, corresponding to when the datagram was received. The \fBSO_EXCLBIND\fR option is used to enable or disable the exclusive binding of a socket. It overrides the use of the \fBSO_REUSEADDR\fR option to reuse an address on \fBbind\fR(3SOCKET). The actual semantics of the \fBSO_EXCLBIND\fR -option depend on the underlying protocol. See \fBtcp\fR(7P) or \fBudp\fR(7P) +option depend on the underlying protocol. See \fBtcp\fR(4P) or \fBudp\fR(4P) for more information. .sp .LP @@ -353,7 +353,7 @@ that use the \fBSO_ALLZONES\fR option to initiate connections or send datagram traffic should specify the source address for outbound traffic by binding to a specific address. There is no effect from setting this option in an exclusive-IP zone. Setting this option requires the \fBsys_net_config\fR -privilege. See \fBzones\fR(5). +privilege. See \fBzones\fR(7). .SH RETURN VALUES .sp .LP @@ -505,7 +505,7 @@ has been shut down. .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -521,11 +521,21 @@ MT-Level Safe .SH SEE ALSO .sp .LP -\fBndd\fR(1M), \fBclose\fR(2), \fBioctl\fR(2), \fBread\fR(2), -\fBbind\fR(3SOCKET), \fBgetprotobyname\fR(3SOCKET), \fBrecv\fR(3SOCKET), -\fBrecvmsg\fR(3XNET), \fBsend\fR(3SOCKET), \fBsocket\fR(3SOCKET), -\fBsocket.h\fR(3HEAD), \fBattributes\fR(5), \fBzones\fR(5), \fBtcp\fR(7P), -\fBudp\fR(7P) +.BR close (2), +.BR ioctl (2), +.BR read (2), +.BR socket.h (3HEAD), +.BR bind (3SOCKET), +.BR getprotobyname (3SOCKET), +.BR recv (3SOCKET), +.BR send (3SOCKET), +.BR socket (3SOCKET), +.BR recvmsg (3XNET), +.BR tcp (4P), +.BR udp (4P), +.BR attributes (7), +.BR zones (7), +.BR ndd (8) .sp .LP \fISolaris Tunable Parameters Reference Manual\fR diff --git a/usr/src/man/man3socket/getsourcefilter.3socket b/usr/src/man/man3socket/getsourcefilter.3socket index 7087498ac0..a38d81c0c9 100644 --- a/usr/src/man/man3socket/getsourcefilter.3socket +++ b/usr/src/man/man3socket/getsourcefilter.3socket @@ -195,7 +195,7 @@ The source filter list is larger than that allowed by the implementation. .RE .SH ATTRIBUTES -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -211,8 +211,10 @@ MT-Level Safe .TE .SH SEE ALSO -\fBif_nametoindex\fR(3SOCKET), \fBsocket\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), -\fBattributes\fR(5) +.BR if_nametoindex (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR attributes (7) .sp .LP RFC 3678 diff --git a/usr/src/man/man3socket/icmp6_filter.3socket b/usr/src/man/man3socket/icmp6_filter.3socket index 3bd77f69f2..362aec5421 100644 --- a/usr/src/man/man3socket/icmp6_filter.3socket +++ b/usr/src/man/man3socket/icmp6_filter.3socket @@ -80,7 +80,7 @@ ICMP6_FILTER. .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp diff --git a/usr/src/man/man3socket/if_nametoindex.3socket b/usr/src/man/man3socket/if_nametoindex.3socket index 04331f79ab..bfe206d556 100644 --- a/usr/src/man/man3socket/if_nametoindex.3socket +++ b/usr/src/man/man3socket/if_nametoindex.3socket @@ -147,7 +147,7 @@ pointer that was returned by \fBif_nameindex()\fR. .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -162,5 +162,7 @@ MT-Level MT-Safe .SH SEE ALSO .sp .LP -\fBifconfig\fR(1M), \fBif_nametoindex\fR(3XNET), \fBattributes\fR(5), -\fBif\fR(7P) +.BR if_nametoindex (3XNET), +.BR if (4P), +.BR attributes (7), +.BR ifconfig (8) diff --git a/usr/src/man/man3socket/inet6_opt.3socket b/usr/src/man/man3socket/inet6_opt.3socket index 75aa96b066..94ab5cb1b6 100644 --- a/usr/src/man/man3socket/inet6_opt.3socket +++ b/usr/src/man/man3socket/inet6_opt.3socket @@ -156,7 +156,7 @@ The \fBinet6_opt_get_val()\fR function returns the \fIoffset\fR for the next field (that is, \fIoffset\fR + \fIvallen\fR) which can be used when extracting option content with multiple fields. .SH ATTRIBUTES -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp diff --git a/usr/src/man/man3socket/inet6_rth.3socket b/usr/src/man/man3socket/inet6_rth.3socket index 02dca243d4..ddee47986b 100644 --- a/usr/src/man/man3socket/inet6_rth.3socket +++ b/usr/src/man/man3socket/inet6_rth.3socket @@ -167,7 +167,7 @@ the routing header. .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp diff --git a/usr/src/man/man3socket/listen.3socket b/usr/src/man/man3socket/listen.3socket index f918145a50..beeeb95559 100644 --- a/usr/src/man/man3socket/listen.3socket +++ b/usr/src/man/man3socket/listen.3socket @@ -76,7 +76,7 @@ The socket is not of a type that supports the operation \fBlisten()\fR. .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -92,8 +92,11 @@ MT-Level Safe .SH SEE ALSO .sp .LP -\fBaccept\fR(3SOCKET), \fBconnect\fR(3SOCKET), \fBsocket\fR(3SOCKET), -\fBattributes\fR(5), \fBsocket.h\fR(3HEAD) +.BR socket.h (3HEAD), +.BR accept (3SOCKET), +.BR connect (3SOCKET), +.BR socket (3SOCKET), +.BR attributes (7) .SH NOTES .sp .LP diff --git a/usr/src/man/man3socket/rcmd.3socket b/usr/src/man/man3socket/rcmd.3socket index cd9517a569..386647d3be 100644 --- a/usr/src/man/man3socket/rcmd.3socket +++ b/usr/src/man/man3socket/rcmd.3socket @@ -65,7 +65,7 @@ clients that request as service with \fBrcmd\fR. .sp .LP All of these functions are present in the same file and are used by the -\fBin.rshd\fR(1M) server among others. +\fBin.rshd\fR(8) server among others. .sp .LP The \fBrcmd()\fR and \fBrcmd_af()\fR functions look up the host \fI*ahost\fR @@ -89,7 +89,7 @@ arbitrary signals to the remote process, other than possibly sending out-of-band data. .sp .LP -The protocol is described in detail in \fBin.rshd\fR(1M). +The protocol is described in detail in \fBin.rshd\fR(8). .sp .LP The \fBrresvport()\fR and \fBrresvport_af()\fR functions are used to obtain a @@ -148,7 +148,7 @@ user's trusted hosts and users .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -168,6 +168,12 @@ should be called only from the main thread. .SH SEE ALSO .sp .LP -\fBrlogin\fR(1), \fBrsh\fR(1), \fBin.rexecd\fR(1M), \fBin.rshd\fR(1M), -\fBIntro\fR(2), \fBgetaddrinfo\fR(3SOCKET), \fBgethostbyname\fR(3NSL), -\fBrexec\fR(3SOCKET), \fBattributes\fR(5) +.BR rlogin (1), +.BR rsh (1), +.BR Intro (2), +.BR gethostbyname (3NSL), +.BR getaddrinfo (3SOCKET), +.BR rexec (3SOCKET), +.BR attributes (7), +.BR in.rexecd (8), +.BR in.rshd (8) diff --git a/usr/src/man/man3socket/recv.3socket b/usr/src/man/man3socket/recv.3socket index 0881252913..9d95155967 100644 --- a/usr/src/man/man3socket/recv.3socket +++ b/usr/src/man/man3socket/recv.3socket @@ -126,7 +126,7 @@ error. In addition to the errors documented below, an asynchronous error generated by the underlying socket protocol may be returned. For the full list of errors, please see the corresponding socket protocol manual page. For example, for a -list of TCP errors, please see \fBtcp\fR(7P). +list of TCP errors, please see \fBtcp\fR(4P). .sp .LP The \fBrecv()\fR, \fBrecvfrom()\fR, and \fBrecvmsg()\fR functions return errors @@ -276,7 +276,7 @@ One of the \fIiov_len\fR values in the \fBmsg_iov\fR array member of the .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -295,6 +295,10 @@ MT-Level Safe .LP \fBfcntl\fR(2), \fBioctl\fR(2), \fBpoll\fR(2), \fBread\fR(2), \fBconnect\fR(3SOCKET), \fBgetsockopt\fR(3SOCKET), \fBlibxnet\fR(3LIB), -\fBport_get(3C)\fR, \fBselect\fR(3C), \fBsend\fR(3SOCKET), -\fBsockaddr\fR(3SOCKET), \fBsocket\fR(3SOCKET), \fBsocket.h\fR(3HEAD), -\fBattributes\fR(5), \fBtcp\fR(7P) +\fBport_get(3C)\fR, \fBselect\fR(3C), +.BR socket.h (3HEAD), +.BR send (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR tcp (4P), +.BR attributes (7) diff --git a/usr/src/man/man3socket/rexec.3socket b/usr/src/man/man3socket/rexec.3socket index 99461eb178..639ac708f0 100644 --- a/usr/src/man/man3socket/rexec.3socket +++ b/usr/src/man/man3socket/rexec.3socket @@ -47,7 +47,7 @@ connectivity to the remote host. The port \fIinport\fR specifies which \fBDARPA\fR Internet port to use for the connection. The port number used must be in network byte order, as supplied by a call to \fBhtons\fR(3C). The protocol for connection is described in -detail in \fBin.rexecd\fR(1M). +detail in \fBin.rexecd\fR(8). .sp .LP If the call succeeds, a socket of type \fBSOCK_STREAM\fR is returned to the @@ -82,7 +82,7 @@ the socket type \fBSOCK_STREAM\fR in the address family \fBAF_INET\fR or If either \fBrexec()\fR or \fBrexec_af()\fR fails, \fB\(mi1\fR is returned. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -101,6 +101,10 @@ This interface is Unsafe in multithreaded applications. Unsafe interfaces should be called only from the main thread. .SH SEE ALSO .LP -\fBin.rexecd\fR(1M), \fBgetaddrinfo\fR(3SOCKET), \fBgethostbyname\fR(3NSL), -\fBgetservbyname\fR(3SOCKET), \fBhtonl\fR(3C), \fBsocket\fR(3SOCKET), -\fBattributes\fR(5) +.BR htonl (3C), +.BR gethostbyname (3NSL), +.BR getaddrinfo (3SOCKET), +.BR getservbyname (3SOCKET), +.BR socket (3SOCKET), +.BR attributes (7), +.BR in.rexecd (8) diff --git a/usr/src/man/man3socket/sctp_bindx.3socket b/usr/src/man/man3socket/sctp_bindx.3socket index 60f3fe905d..87ddbc02d6 100644 --- a/usr/src/man/man3socket/sctp_bindx.3socket +++ b/usr/src/man/man3socket/sctp_bindx.3socket @@ -121,7 +121,7 @@ The last address is requested to be removed from an established association. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -138,11 +138,21 @@ MT-Level Safe .SH SEE ALSO .LP -\fBbind\fR(3SOCKET), \fBin.h\fR(3HEAD), \fBlibsctp\fR(3LIB), -\fBlisten\fR(3SOCKET), \fBsctp_freeladdrs\fR(3SOCKET), -\fBsctp_freepaddrs\fR(3SOCKET), \fBsctp_getladdrs\fR(3SOCKET), -\fBsctp_getpaddrs\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), \fBsocket\fR(3SOCKET), -\fBinet\fR(7P), \fBinet6\fR(7P), \fBip\fR(7P), \fBip6\fR(7P), \fBsctp\fR(7P) +.BR in.h (3HEAD), +.BR libsctp (3LIB), +.BR bind (3SOCKET), +.BR listen (3SOCKET), +.BR sctp_freeladdrs (3SOCKET), +.BR sctp_freepaddrs (3SOCKET), +.BR sctp_getladdrs (3SOCKET), +.BR sctp_getpaddrs (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR inet (4P), +.BR inet6 (4P), +.BR ip (4P), +.BR ip6 (4P), +.BR sctp (4P) .SH NOTES .LP diff --git a/usr/src/man/man3socket/sctp_getladdrs.3socket b/usr/src/man/man3socket/sctp_getladdrs.3socket index f343921788..23c71cc3ba 100644 --- a/usr/src/man/man3socket/sctp_getladdrs.3socket +++ b/usr/src/man/man3socket/sctp_getladdrs.3socket @@ -96,7 +96,7 @@ The \fIid\fR argument is an invalid socket. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -113,8 +113,16 @@ MT-Level Safe .SH SEE ALSO .LP -\fBbind\fR(3SOCKET), \fBin.h\fR(3HEAD), \fBlibsctp\fR(3LIB), -\fBsctp_freepaddrs\fR(3SOCKET), \fBsctp_getpaddrs\fR(3SOCKET), -\fBsockaddr\fR(3SOCKET), -\fBsocket\fR(3SOCKET), \fBattributes\fR(5), \fBinet\fR(7P), \fBinet6\fR(7P), -\fBip\fR(7P), \fBip6\fR(7P), \fBsctp\fR(7P) +.BR in.h (3HEAD), +.BR libsctp (3LIB), +.BR bind (3SOCKET), +.BR sctp_freepaddrs (3SOCKET), +.BR sctp_getpaddrs (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR inet (4P), +.BR inet6 (4P), +.BR ip (4P), +.BR ip6 (4P), +.BR sctp (4P), +.BR attributes (7) diff --git a/usr/src/man/man3socket/sctp_getpaddrs.3socket b/usr/src/man/man3socket/sctp_getpaddrs.3socket index c2558279b2..7624e0b5ea 100644 --- a/usr/src/man/man3socket/sctp_getpaddrs.3socket +++ b/usr/src/man/man3socket/sctp_getpaddrs.3socket @@ -106,7 +106,7 @@ The specified socket is not connected. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -123,8 +123,16 @@ MT-Level Safe .SH SEE ALSO .LP -\fBbind\fR(3SOCKET), \fBin.h\fR(3HEAD), \fBlibsctp\fR(3LIB), -\fBsctp_freeladdrs\fR(3SOCKET), \fBsctp_getladdrs\fR(3SOCKET), -\fBsockaddr\fR(3SOCKET), -\fBsocket\fR(3SOCKET), \fBattributes\fR(5), \fBinet\fR(7P), \fBinet6\fR(7P), -\fBip\fR(7P), \fBip6\fR(7P), \fBsctp\fR(7P) +.BR in.h (3HEAD), +.BR libsctp (3LIB), +.BR bind (3SOCKET), +.BR sctp_freeladdrs (3SOCKET), +.BR sctp_getladdrs (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR inet (4P), +.BR inet6 (4P), +.BR ip (4P), +.BR ip6 (4P), +.BR sctp (4P), +.BR attributes (7) diff --git a/usr/src/man/man3socket/sctp_opt_info.3socket b/usr/src/man/man3socket/sctp_opt_info.3socket index 63984ffd88..1a52b80590 100644 --- a/usr/src/man/man3socket/sctp_opt_info.3socket +++ b/usr/src/man/man3socket/sctp_opt_info.3socket @@ -337,7 +337,7 @@ The address family for the peer's address is other than \fBAF_INET\fR or .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -354,6 +354,14 @@ MT-Level Safe .SH SEE ALSO .LP -\fBin.h\fR(3HEAD), \fBlibsctp\fR(3LIB), \fBgetsockopt\fR(3SOCKET), -\fBsetsockopt\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), \fBsocket\fR(3SOCKET), -\fBinet\fR(7P), \fBinet6\fR(7P), \fBip\fR(7P), \fBip6\fR(7P), \fBsctp\fR(7P) +.BR in.h (3HEAD), +.BR libsctp (3LIB), +.BR getsockopt (3SOCKET), +.BR setsockopt (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR inet (4P), +.BR inet6 (4P), +.BR ip (4P), +.BR ip6 (4P), +.BR sctp (4P) diff --git a/usr/src/man/man3socket/sctp_peeloff.3socket b/usr/src/man/man3socket/sctp_peeloff.3socket index 6dd770f3b1..c2a62edcb5 100644 --- a/usr/src/man/man3socket/sctp_peeloff.3socket +++ b/usr/src/man/man3socket/sctp_peeloff.3socket @@ -67,7 +67,7 @@ Failure to create a new user file descriptor or file structure. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -84,4 +84,7 @@ MT-Level Safe .SH SEE ALSO .LP -\fBin.h\fR(3HEAD), \fBlibsctp\fR(3LIB), \fBsocket\fR(3SOCKET), \fBsctp\fR(7P) +.BR in.h (3HEAD), +.BR libsctp (3LIB), +.BR socket (3SOCKET), +.BR sctp (4P) diff --git a/usr/src/man/man3socket/sctp_recvmsg.3socket b/usr/src/man/man3socket/sctp_recvmsg.3socket index 875afc6714..45f64206dd 100644 --- a/usr/src/man/man3socket/sctp_recvmsg.3socket +++ b/usr/src/man/man3socket/sctp_recvmsg.3socket @@ -114,7 +114,7 @@ There is no established association. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -131,8 +131,16 @@ MT-Level Safe .SH SEE ALSO .LP -\fBaccept\fR(3SOCKET), \fBbind\fR(3SOCKET), \fBconnect\fR(3SOCKET), -\fBin.h\fR(3HEAD), \fBlibsctp\fR(3LIB), \fBlisten\fR(3SOCKET), -\fBrecvmsg\fR(3SOCKET), \fBsctp_opt_info\fR(3SOCKET), \fBsetsockopt\fR(3SOCKET), -\fBsockaddr\fR(3SOCKET), \fBsocket\fR(3SOCKET), \fBsocket.h\fR(3HEAD), -\fBsctp\fR(7P) +.BR in.h (3HEAD), +.BR socket.h (3HEAD), +.BR libsctp (3LIB), +.BR accept (3SOCKET), +.BR bind (3SOCKET), +.BR connect (3SOCKET), +.BR listen (3SOCKET), +.BR recvmsg (3SOCKET), +.BR sctp_opt_info (3SOCKET), +.BR setsockopt (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR sctp (4P) diff --git a/usr/src/man/man3socket/sctp_send.3socket b/usr/src/man/man3socket/sctp_send.3socket index 3a44106596..bb319cf0be 100644 --- a/usr/src/man/man3socket/sctp_send.3socket +++ b/usr/src/man/man3socket/sctp_send.3socket @@ -161,7 +161,7 @@ or \fBAF_INET6\fR. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -178,7 +178,14 @@ MT-Level Safe .SH SEE ALSO .LP -\fBaccept\fR(3SOCKET), \fBbind\fR(3SOCKET), \fBconnect\fR(3SOCKET), -\fBin.h\fR(3HEAD), \fBlibsctp\fR(3LIB), \fBlisten\fR(3SOCKET), -\fBsctp_sendmsg\fR(3SOCKET), \fBsendmsg\fR(3SOCKET), \fBsocket\fR(3SOCKET), -\fBsocket.h\fR(3HEAD), \fBsctp\fR(7P) +.BR in.h (3HEAD), +.BR socket.h (3HEAD), +.BR libsctp (3LIB), +.BR accept (3SOCKET), +.BR bind (3SOCKET), +.BR connect (3SOCKET), +.BR listen (3SOCKET), +.BR sctp_sendmsg (3SOCKET), +.BR sendmsg (3SOCKET), +.BR socket (3SOCKET), +.BR sctp (4P) diff --git a/usr/src/man/man3socket/sctp_sendmsg.3socket b/usr/src/man/man3socket/sctp_sendmsg.3socket index 281481a340..10f48f65c4 100644 --- a/usr/src/man/man3socket/sctp_sendmsg.3socket +++ b/usr/src/man/man3socket/sctp_sendmsg.3socket @@ -242,7 +242,7 @@ or \fBAF_INET6\fR. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -259,7 +259,15 @@ MT-Level Safe .SH SEE ALSO .LP -\fBaccept\fR(3SOCKET), \fBbind\fR(3SOCKET), \fBconnect\fR(3SOCKET), -\fBin.h\fR(3HEAD), \fBlibsctp\fR(3LIB), \fBlisten\fR(3SOCKET), -\fBsendmsg\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), \fBsocket\fR(3SOCKET), -\fBsocket.h\fR(3HEAD), \fBattributes\fR(5), \fBsctp\fR(7P) +.BR in.h (3HEAD), +.BR socket.h (3HEAD), +.BR libsctp (3LIB), +.BR accept (3SOCKET), +.BR bind (3SOCKET), +.BR connect (3SOCKET), +.BR listen (3SOCKET), +.BR sendmsg (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR sctp (4P), +.BR attributes (7) diff --git a/usr/src/man/man3socket/send.3socket b/usr/src/man/man3socket/send.3socket index 9589479569..ee46cf77d5 100644 --- a/usr/src/man/man3socket/send.3socket +++ b/usr/src/man/man3socket/send.3socket @@ -105,7 +105,7 @@ Otherwise, they return \fB-1\fR and set \fBerrno\fR to indicate the error. In addition to the errors documented below, an asynchronous error generated by the underlying socket protocol may be returned. For the full list of errors, please see the corresponding socket protocol manual page. For example, for a -list of TCP errors, please see \fBtcp\fR(7P). +list of TCP errors, please see \fBtcp\fR(4P). .sp .LP The \fBsend()\fR, \fBsendto()\fR, and \fBsendmsg()\fR functions return errors @@ -276,7 +276,7 @@ unless the \fBMSG_NOSIGNAL\fR flag is set. .SH ATTRIBUTES .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -293,7 +293,15 @@ MT-Level Safe .SH SEE ALSO .LP -\fBfcntl\fR(2), \fBpoll\fR(2), \fBwrite\fR(2), \fBconnect\fR(3SOCKET), -\fBgetsockopt\fR(3SOCKET), \fBrecv\fR(3SOCKET), \fBselect\fR(3C), -\fBsockaddr\fR(3SOCKET), \fBsocket\fR(3SOCKET), \fBsocket.h\fR(3HEAD), -\fBattributes\fR(5), \fBtcp\fR(7P) +.BR fcntl (2), +.BR poll (2), +.BR write (2), +.BR select (3C), +.BR socket.h (3HEAD), +.BR connect (3SOCKET), +.BR getsockopt (3SOCKET), +.BR recv (3SOCKET), +.BR sockaddr (3SOCKET), +.BR socket (3SOCKET), +.BR tcp (4P), +.BR attributes (7) diff --git a/usr/src/man/man3socket/shutdown.3socket b/usr/src/man/man3socket/shutdown.3socket index 752a8731e7..d2de09d683 100644 --- a/usr/src/man/man3socket/shutdown.3socket +++ b/usr/src/man/man3socket/shutdown.3socket @@ -87,7 +87,7 @@ The \fIs\fR value is not a socket. .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -103,5 +103,7 @@ MT-Level Safe .SH SEE ALSO .sp .LP -\fBconnect\fR(3SOCKET), \fBsocket\fR(3SOCKET), \fBsocket.h\fR(3HEAD), -\fBattributes\fR(5) +.BR socket.h (3HEAD), +.BR connect (3SOCKET), +.BR socket (3SOCKET), +.BR attributes (7) diff --git a/usr/src/man/man3socket/sockaddr.3socket b/usr/src/man/man3socket/sockaddr.3socket index 3d5af60020..504534e550 100644 --- a/usr/src/man/man3socket/sockaddr.3socket +++ b/usr/src/man/man3socket/sockaddr.3socket @@ -213,9 +213,9 @@ and the corresponding representation. Example 1 shows how to prepare an IPv4 socket and deal with network byte-order. See -.Xr inet 7P +.Xr inet 4P and -.Xr ip 7P +.Xr ip 4P for more information on IPv4, socket options, etc. .Ss struct sockaddr_in6 The @@ -293,9 +293,9 @@ calls. Example 2 shows how to prepare an IPv6 socket. For more information on IPv6, please see -.Xr inet6 7P +.Xr inet6 4P and -.Xr ip6 7P . +.Xr ip6 4P . .Ss struct sockaddr_un The .Sy sockaddr_un @@ -328,7 +328,7 @@ The .Sy sockaddr_dl structure is used to describe a layer 2 link-level address. This is used as part of various socket ioctls, such as those for -.Xr arp 7P . +.Xr arp 4P . The structure has the following members: .Bd -literal -offset indent ushort_t sdl_family; /* address family */ @@ -350,7 +350,7 @@ is non-zero this refers to the interface identifier that corresponds to the .Sy struct sockaddr_dl . This identifier is the same identifier that's shown by tools like -.Xr ifconfig 1M +.Xr ifconfig 8 and used in the SIOC* set of socket ioctls. The member .Em sdl_type @@ -435,7 +435,7 @@ The member .Em sll_ifindex is the interface's index. It is used as an identifier in various ioctls and included in the output of -.Xr ifconfig 1M . +.Xr ifconfig 8 . When calling .Xr bind 3SOCKET it should be filled in with the index that corresponds to the interface @@ -462,7 +462,7 @@ promiscuous mode. The member .Em sll_hatype contains the hardware type as defined by -.Xr arp 7P . +.Xr arp 4P . The list of types can be found in .In net/if_arp.h . The member @@ -580,8 +580,8 @@ main(void) .Xr bind 3SOCKET , .Xr connect 3SOCKET , .Xr socket 3SOCKET , -.Xr arp 7P , -.Xr inet 7P , -.Xr inet6 7P , -.Xr ip 7P , -.Xr ip6 7P +.Xr arp 4P , +.Xr inet 4P , +.Xr inet6 4P , +.Xr ip 4P , +.Xr ip6 4P diff --git a/usr/src/man/man3socket/socket.3socket b/usr/src/man/man3socket/socket.3socket index 2b95a480d0..1ceceb1098 100644 --- a/usr/src/man/man3socket/socket.3socket +++ b/usr/src/man/man3socket/socket.3socket @@ -123,7 +123,7 @@ provide nonblocking semantics as described for \fBO_NONBLOCK\fR in \fBopen\fR(2) .sp .LP -There must be an entry in the \fBnetconfig\fR(4) file for at least each +There must be an entry in the \fBnetconfig\fR(5) file for at least each protocol family and type required. If a non-zero protocol has been specified but no exact match for the protocol family, type, and protocol is found, then the first entry containing the specified family and type with a \fIprotocol\fR @@ -298,7 +298,7 @@ One or more of the specified flags is not supported. .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -314,12 +314,28 @@ MT-Level Safe .SH SEE ALSO .sp .LP -\fBnca\fR(1), \fBclose\fR(2), \fBfcntl\fR(2), \fBioctl\fR(2), \fBread\fR(2), -\fBwrite\fR(2), \fBaccept\fR(3SOCKET), \fBbind\fR(3SOCKET), \fBexec\fR(2), -\fBconnect\fR(3SOCKET), \fBgetsockname\fR(3SOCKET), \fBgetsockopt\fR(3SOCKET), -\fBin.h\fR(3HEAD), \fBlisten\fR(3SOCKET), \fBrecv\fR(3SOCKET), \fBopen\fR(2), -\fBsetsockopt\fR(3SOCKET), \fBsend\fR(3SOCKET), \fBshutdown\fR(3SOCKET), -\fBsocket.h\fR(3HEAD), \fBsocketpair\fR(3SOCKET), \fBattributes\fR(5) +.BR nca (1), +.BR close (2), +.BR exec (2), +.BR fcntl (2), +.BR ioctl (2), +.BR open (2), +.BR read (2), +.BR write (2), +.BR in.h (3HEAD), +.BR socket.h (3HEAD), +.BR accept (3SOCKET), +.BR bind (3SOCKET), +.BR connect (3SOCKET), +.BR getsockname (3SOCKET), +.BR getsockopt (3SOCKET), +.BR listen (3SOCKET), +.BR recv (3SOCKET), +.BR send (3SOCKET), +.BR setsockopt (3SOCKET), +.BR shutdown (3SOCKET), +.BR socketpair (3SOCKET), +.BR attributes (7) .SH NOTES .sp .LP diff --git a/usr/src/man/man3socket/socketpair.3socket b/usr/src/man/man3socket/socketpair.3socket index e4f5373ef1..00fbe418b8 100644 --- a/usr/src/man/man3socket/socketpair.3socket +++ b/usr/src/man/man3socket/socketpair.3socket @@ -99,7 +99,7 @@ The process does not have appropriate privileges. .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -115,8 +115,11 @@ MT-Level Safe .SH SEE ALSO .sp .LP -\fBpipe\fR(2), \fBread\fR(2), \fBwrite\fR(2), \fBsocket.h\fR(3HEAD), -\fBattributes\fR(5) +.BR pipe (2), +.BR read (2), +.BR write (2), +.BR socket.h (3HEAD), +.BR attributes (7) .SH NOTES .sp .LP diff --git a/usr/src/man/man3socket/spray.3socket b/usr/src/man/man3socket/spray.3socket index 994d3543d4..2aac7438cd 100644 --- a/usr/src/man/man3socket/spray.3socket +++ b/usr/src/man/man3socket/spray.3socket @@ -114,7 +114,7 @@ The following code fragment demonstrates how the spray program is used: .SH ATTRIBUTES .sp .LP -See \fBattributes\fR(5) for descriptions of the following attributes: +See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp @@ -130,7 +130,9 @@ MT-Level Unsafe .SH SEE ALSO .sp .LP -\fBspray\fR(1M), \fBrpc_clnt_calls\fR(3NSL), \fBattributes\fR(5) +.BR rpc_clnt_calls (3NSL), +.BR attributes (7), +.BR spray (8) .SH NOTES .sp .LP |