/titanic_50/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 651 sosdp_getsockopt(struct sonode *so, int level, int option_name, in sosdp_getsockopt() argument 665 switch (option_name) { in sosdp_getsockopt() 698 switch (option_name) { in sosdp_getsockopt() 720 value = (so->so_options & option_name); in sosdp_getsockopt() 763 level, option_name, optbuf, &optlen); in sosdp_getsockopt() 798 sosdp_setsockopt(struct sonode *so, int level, int option_name, in sosdp_setsockopt() argument 816 so->so_type, conn, level, option_name)); in sosdp_setsockopt() 821 option_name, optval, optlen); in sosdp_setsockopt() 835 switch (option_name) { in sosdp_setsockopt() 869 switch (option_name) { in sosdp_setsockopt() [all …]
|
H A D | sockmod_pfp.c | 658 sdpfp_getsockopt(sock_lower_handle_t handle, int level, int option_name, in sdpfp_getsockopt() argument 668 error = pfp_getpacket_sockopt(handle, option_name, optval, in sdpfp_getsockopt() 673 if (option_name == SO_RCVBUF) { in sdpfp_getsockopt() 702 sdpfp_setsockopt(sock_lower_handle_t handle, int level, int option_name, in sdpfp_setsockopt() argument 709 error = pfp_setsocket_sockopt(handle, option_name, optval, in sdpfp_setsockopt() 713 error = pfp_setpacket_sockopt(handle, option_name, optval, in sdpfp_setsockopt() 1195 pfp_getpacket_sockopt(sock_lower_handle_t handle, int option_name, in pfp_getpacket_sockopt() argument 1204 switch (option_name) { in pfp_getpacket_sockopt() 1244 pfp_setpacket_sockopt(sock_lower_handle_t handle, int option_name, in pfp_setpacket_sockopt() argument 1256 if ((option_name == PACKET_ADD_MEMBERSHIP) || in pfp_setpacket_sockopt() [all …]
|
H A D | socksctp.c | 1223 sosctp_getsockopt(struct sonode *so, int level, int option_name, in sosctp_getsockopt() argument 1234 switch (option_name) { in sosctp_getsockopt() 1242 error = socket_getopt_common(so, level, option_name, in sosctp_getsockopt() 1268 option_name, optbuf, &optlen); in sosctp_getsockopt() 1294 sosctp_setsockopt(struct sonode *so, int level, int option_name, in sosctp_setsockopt() argument 1317 switch (option_name) { in sosctp_setsockopt() 1353 if (option_name == SO_LINGER) { in sosctp_setsockopt() 1363 if ((option_name != SO_RCVBUF) && in sosctp_setsockopt() 1364 (option_name != SO_SNDBUF)) { in sosctp_setsockopt() 1384 (void *)ss, so->so_type, (void *)conn, level, option_name, id)); in sosctp_setsockopt() [all …]
|
/titanic_50/usr/src/uts/common/fs/sockfs/ |
H A D | sock_notsupp.c | 87 int option_name, void *optval, socklen_t *optlenp, struct cred *cr) in sock_getsockopt_notsupp() argument 95 int option_name, const void *optval, socklen_t optlen, struct cred *cr) in sock_setsockopt_notsupp() argument
|
H A D | sockfilter.c | 185 sof_setsockopt_impl(struct sonode *so, int option_name, in sof_setsockopt_impl() argument 203 if (option_name == FIL_ATTACH) { in sof_setsockopt_impl() 279 } else if (option_name == FIL_DETACH) { in sof_setsockopt_impl() 307 sof_setsockopt(struct sonode *so, int option_name, in sof_setsockopt() argument 328 error = sof_setsockopt_impl(so, option_name, optval, in sof_setsockopt() 339 sof_getsockopt_impl(struct sonode *so, int option_name, in sof_getsockopt_impl() argument 350 if (option_name == FIL_LIST) { in sof_getsockopt_impl() 380 sof_getsockopt(struct sonode *so, int option_name, in sof_getsockopt() argument 393 error = sof_getsockopt_impl(so, option_name, optval, optlenp, in sof_getsockopt() 1421 sof_filter_setsockopt(struct sonode *so, int level, int option_name, in sof_filter_setsockopt() argument [all …]
|
H A D | sockcommon_sops.c | 697 so_getsockopt(struct sonode *so, int level, int option_name, in so_getsockopt() argument 703 return (sof_getsockopt(so, option_name, optval, optlenp, cr)); in so_getsockopt() 706 SOP_GETSOCKOPT(so, level, option_name, optval, optlenp, flags, cr)); in so_getsockopt() 709 (error = sof_filter_getsockopt(so, level, option_name, optval, in so_getsockopt() 711 (error = socket_getopt_common(so, level, option_name, optval, in so_getsockopt() 714 (so->so_proto_handle, level, option_name, optval, optlenp, in so_getsockopt() 724 switch (option_name) { in so_getsockopt() 785 so_setsockopt(struct sonode *so, int level, int option_name, in so_setsockopt() argument 793 return (sof_setsockopt(so, option_name, optval, optlen, cr)); in so_setsockopt() 796 SOP_SETSOCKOPT(so, level, option_name, optval, optlen, cr)); in so_setsockopt() [all …]
|
H A D | sockcommon.c | 287 socket_getsockopt(struct sonode *so, int level, int option_name, in socket_getsockopt() argument 290 return (SOP_GETSOCKOPT(so, level, option_name, optval, in socket_getsockopt() 298 socket_setsockopt(struct sonode *so, int level, int option_name, in socket_setsockopt() argument 311 return (SOP_SETSOCKOPT(so, level, option_name, optval, optlen, cr)); in socket_setsockopt()
|
H A D | socktpi.c | 5081 sotpi_getsockopt(struct sonode *so, int level, int option_name, in sotpi_getsockopt() argument 5099 (void *)so, level, option_name, optval, (void *)optlenp, in sotpi_getsockopt() 5113 switch (option_name) { in sotpi_getsockopt() 5176 switch (option_name) { in sotpi_getsockopt() 5196 option_name)); in sotpi_getsockopt() 5200 option_name)); in sotpi_getsockopt() 5215 value = (so->so_options & option_name); in sotpi_getsockopt() 5220 option_name)); in sotpi_getsockopt() 5224 option_name)); in sotpi_getsockopt() 5318 if (option_name == SO_RCVTIMEO) in sotpi_getsockopt() [all …]
|
H A D | socksyscalls.c | 1483 getsockopt(int sock, int level, int option_name, void *option_value, in getsockopt() argument 1492 sock, level, option_name, option_value, (void *)option_lenp)); in getsockopt() 1513 error = socket_getsockopt(so, level, option_name, optval, in getsockopt() 1531 setsockopt(int sock, int level, int option_name, void *option_value, in setsockopt() argument 1540 sock, level, option_name, option_value, option_len)); in setsockopt() 1566 error = socket_setsockopt(so, level, option_name, optval, in setsockopt() 3042 sogetsockopt(struct sonode *so, int level, int option_name, void *optval, in sogetsockopt() argument 3045 return (socket_getsockopt(so, level, option_name, optval, optlenp, in sogetsockopt() 3050 sosetsockopt(struct sonode *so, int level, int option_name, const void *optval, in sosetsockopt() argument 3053 return (socket_setsockopt(so, level, option_name, optval, optlen, in sosetsockopt()
|
H A D | sockcommon_subr.c | 1676 socket_getopt_common(struct sonode *so, int level, int option_name, in socket_getopt_common() argument 1682 switch (option_name) { in socket_getopt_common() 1694 switch (option_name) { in socket_getopt_common() 1732 if (option_name == SO_RCVTIMEO) in socket_getopt_common()
|
/titanic_50/usr/src/lib/libsocket/socket/ |
H A D | weaks.c | 260 __xnet_getsockopt(int sock, int level, int option_name, in __xnet_getsockopt() argument 264 return (_getsockopt(sock, level, option_name, option_value, in __xnet_getsockopt() 267 return (_so_getsockopt(sock, level, option_name, option_value, in __xnet_getsockopt()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_net.c | 166 int option_name, void *option_val, int *option_len, int flags); 168 int option_name, void *option_val, int option_len); 358 iscsi_net_getsockopt(void *socket, int level, int option_name, in iscsi_net_getsockopt() argument 362 return (ksocket_getsockopt(ks, level, option_name, option_val, in iscsi_net_getsockopt() 370 iscsi_net_setsockopt(void *socket, int level, int option_name, in iscsi_net_setsockopt() argument 374 return (ksocket_setsockopt(ks, level, option_name, option_val, in iscsi_net_setsockopt()
|
/titanic_50/usr/src/uts/common/inet/tcp/ |
H A D | tcp_socket.c | 373 tcp_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in tcp_getsockopt() argument 384 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in tcp_getsockopt() 403 len = tcp_opt_get(connp, level, option_name, optvalp_buf); in tcp_getsockopt() 424 tcp_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in tcp_setsockopt() argument 437 switch (option_name) { in tcp_setsockopt() 456 error = proto_opt_check(level, option_name, optlen, NULL, in tcp_setsockopt() 469 error = tcp_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name, in tcp_setsockopt()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | rts.c | 1349 rts_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in rts_getsockopt() argument 1359 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in rts_getsockopt() 1371 len = rts_opt_get(connp, level, option_name, optvalp_buf); in rts_getsockopt() 1390 rts_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in rts_setsockopt() argument 1397 error = proto_opt_check(level, option_name, optlen, NULL, in rts_setsockopt() 1409 error = rts_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name, in rts_setsockopt()
|
H A D | icmp.c | 5449 rawip_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in rawip_setsockopt() argument 5458 error = proto_opt_check(level, option_name, optlen, NULL, in rawip_setsockopt() 5474 option_name, optlen, (uchar_t *)optvalp, (uint_t *)&optlen, in rawip_setsockopt() 5483 rawip_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in rawip_getsockopt() argument 5495 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in rawip_getsockopt() 5508 len = icmp_opt_get(connp, level, option_name, optvalp_buf); in rawip_getsockopt()
|
/titanic_50/usr/src/lib/libsocket/common/ |
H A D | llib-lsocket | 127 int __xnet_getsockopt(int sock, int level, int option_name,
|
/titanic_50/usr/src/lib/libdhcputil/ |
H A D | README.inittab | 67 option_name category, code, type, granularity, maximum, consumers 71 `option_name' is user-interpretable name of the option (for use with
|
/titanic_50/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 6465 udp_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in udp_getsockopt() argument 6477 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in udp_getsockopt() 6488 len = udp_opt_get(connp, level, option_name, optvalp_buf); in udp_getsockopt() 6507 udp_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in udp_setsockopt() argument 6516 error = proto_opt_check(level, option_name, optlen, NULL, in udp_setsockopt() 6527 error = udp_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name, in udp_setsockopt()
|