/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 652 sosdp_getsockopt(struct sonode *so, int level, int option_name, in sosdp_getsockopt() argument 666 switch (option_name) { in sosdp_getsockopt() 699 switch (option_name) { in sosdp_getsockopt() 721 value = (so->so_options & option_name); in sosdp_getsockopt() 764 level, option_name, optbuf, &optlen); in sosdp_getsockopt() 799 sosdp_setsockopt(struct sonode *so, int level, int option_name, in sosdp_setsockopt() argument 817 so->so_type, conn, level, option_name)); in sosdp_setsockopt() 822 option_name, optval, optlen); in sosdp_setsockopt() 836 switch (option_name) { in sosdp_setsockopt() 870 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 | 1232 sosctp_getsockopt(struct sonode *so, int level, int option_name, in sosctp_getsockopt() argument 1243 switch (option_name) { in sosctp_getsockopt() 1251 error = socket_getopt_common(so, level, option_name, in sosctp_getsockopt() 1277 option_name, optbuf, &optlen); in sosctp_getsockopt() 1303 sosctp_setsockopt(struct sonode *so, int level, int option_name, in sosctp_setsockopt() argument 1326 switch (option_name) { in sosctp_setsockopt() 1362 if (option_name == SO_LINGER) { in sosctp_setsockopt() 1372 if ((option_name != SO_RCVBUF) && in sosctp_setsockopt() 1373 (option_name != SO_SNDBUF)) { in sosctp_setsockopt() 1393 (void *)ss, so->so_type, (void *)conn, level, option_name, id)); in sosctp_setsockopt() [all …]
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
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() 1422 sof_filter_setsockopt(struct sonode *so, int level, int option_name, in sof_filter_setsockopt() argument [all …]
|
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 | sockcommon_sops.c | 666 so_getsockopt(struct sonode *so, int level, int option_name, in so_getsockopt() argument 672 return (sof_getsockopt(so, option_name, optval, optlenp, cr)); in so_getsockopt() 675 SOP_GETSOCKOPT(so, level, option_name, optval, optlenp, flags, cr)); in so_getsockopt() 678 (error = sof_filter_getsockopt(so, level, option_name, optval, in so_getsockopt() 680 (error = socket_getopt_common(so, level, option_name, optval, in so_getsockopt() 683 (so->so_proto_handle, level, option_name, optval, optlenp, in so_getsockopt() 693 switch (option_name) { in so_getsockopt() 753 so_setsockopt(struct sonode *so, int level, int option_name, in so_setsockopt() argument 761 return (sof_setsockopt(so, option_name, optval, optlen, cr)); in so_setsockopt() 764 SOP_SETSOCKOPT(so, level, option_name, optval, optlen, cr)); in so_setsockopt() [all …]
|
H A D | sockcommon.c | 289 socket_getsockopt(struct sonode *so, int level, int option_name, in socket_getsockopt() argument 292 return (SOP_GETSOCKOPT(so, level, option_name, optval, in socket_getsockopt() 300 socket_setsockopt(struct sonode *so, int level, int option_name, in socket_setsockopt() argument 313 return (SOP_SETSOCKOPT(so, level, option_name, optval, optlen, cr)); in socket_setsockopt()
|
H A D | socktpi.c | 5015 sotpi_getsockopt(struct sonode *so, int level, int option_name, in sotpi_getsockopt() argument 5033 (void *)so, level, option_name, optval, (void *)optlenp, in sotpi_getsockopt() 5049 switch (option_name) { in sotpi_getsockopt() 5110 switch (option_name) { in sotpi_getsockopt() 5130 option_name)); in sotpi_getsockopt() 5134 option_name)); in sotpi_getsockopt() 5148 value = (so->so_options & option_name); in sotpi_getsockopt() 5153 option_name)); in sotpi_getsockopt() 5157 option_name)); in sotpi_getsockopt() 5256 if (option_name == SO_RCVTIMEO) in sotpi_getsockopt() [all …]
|
H A D | socksyscalls.c | 1600 getsockopt(int sock, int level, int option_name, void *option_value, in getsockopt() argument 1609 sock, level, option_name, option_value, (void *)option_lenp)); in getsockopt() 1630 error = socket_getsockopt(so, level, option_name, optval, in getsockopt() 1648 setsockopt(int sock, int level, int option_name, void *option_value, in setsockopt() argument 1657 sock, level, option_name, option_value, option_len)); in setsockopt() 1683 error = socket_setsockopt(so, level, option_name, optval, in setsockopt() 3126 sogetsockopt(struct sonode *so, int level, int option_name, void *optval, in sogetsockopt() argument 3129 return (socket_getsockopt(so, level, option_name, optval, optlenp, in sogetsockopt() 3134 sosetsockopt(struct sonode *so, int level, int option_name, const void *optval, in sosetsockopt() argument 3137 return (socket_setsockopt(so, level, option_name, optval, optlen, in sosetsockopt()
|
H A D | sockcommon_subr.c | 1679 socket_getopt_common(struct sonode *so, int level, int option_name, in socket_getopt_common() argument 1685 switch (option_name) { in socket_getopt_common() 1697 switch (option_name) { in socket_getopt_common() 1741 if (option_name == SO_RCVTIMEO) in socket_getopt_common()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_net.c | 165 int option_name, void *option_val, int *option_len, int flags); 167 int option_name, void *option_val, int option_len); 357 iscsi_net_getsockopt(void *socket, int level, int option_name, in iscsi_net_getsockopt() argument 361 return (ksocket_getsockopt(ks, level, option_name, option_val, in iscsi_net_getsockopt() 369 iscsi_net_setsockopt(void *socket, int level, int option_name, in iscsi_net_setsockopt() argument 373 return (ksocket_setsockopt(ks, level, option_name, option_val, in iscsi_net_setsockopt()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_socket.c | 380 tcp_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in tcp_getsockopt() argument 391 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in tcp_getsockopt() 410 len = tcp_opt_get(connp, level, option_name, optvalp_buf); in tcp_getsockopt() 431 tcp_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in tcp_setsockopt() argument 444 switch (option_name) { in tcp_setsockopt() 463 error = proto_opt_check(level, option_name, optlen, NULL, in tcp_setsockopt() 476 error = tcp_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name, in tcp_setsockopt()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | rts.c | 1354 rts_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in rts_getsockopt() argument 1364 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in rts_getsockopt() 1376 len = rts_opt_get(connp, level, option_name, optvalp_buf); in rts_getsockopt() 1395 rts_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in rts_setsockopt() argument 1402 error = proto_opt_check(level, option_name, optlen, NULL, in rts_setsockopt() 1414 error = rts_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name, in rts_setsockopt()
|
H A D | icmp.c | 5469 rawip_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in rawip_setsockopt() argument 5478 error = proto_opt_check(level, option_name, optlen, NULL, in rawip_setsockopt() 5494 option_name, optlen, (uchar_t *)optvalp, (uint_t *)&optlen, in rawip_setsockopt() 5503 rawip_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in rawip_getsockopt() argument 5515 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in rawip_getsockopt() 5528 len = icmp_opt_get(connp, level, option_name, optvalp_buf); in rawip_getsockopt()
|
/illumos-gate/usr/src/lib/libdhcputil/ |
H A D | README.inittab | 66 option_name category, code, type, granularity, maximum, consumers 70 `option_name' is user-interpretable name of the option (for use with
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | trill.c | 1548 int option_name, void *optval, socklen_t *optlenp, struct cred *cr) in trill_getsockopt() argument 1552 if (level != SOL_SOCKET && option_name != SO_PROTOCOL) { in trill_getsockopt()
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 6436 udp_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in udp_getsockopt() argument 6448 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in udp_getsockopt() 6459 len = udp_opt_get(connp, level, option_name, optvalp_buf); in udp_getsockopt() 6478 udp_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, in udp_setsockopt() argument 6487 error = proto_opt_check(level, option_name, optlen, NULL, in udp_setsockopt() 6498 error = udp_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name, in udp_setsockopt()
|