Searched defs:option_name (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libsocket/socket/
H A Dweaks.c260 __xnet_getsockopt(int sock, int level, int option_name, argument
264 return (_getsockopt(sock, level, option_name, option_value,
267 return (_so_getsockopt(sock, level, option_name, option_value,
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsock_notsupp.c87 int option_name, void *optval, socklen_t *optlenp, struct cred *cr)
95 int option_name, const void *optval, socklen_t optlen, struct cred *cr)
86 sock_getsockopt_notsupp(sock_lower_handle_t handle, int level, int option_name, void *optval, socklen_t *optlenp, struct cred *cr) argument
94 sock_setsockopt_notsupp(sock_lower_handle_t handle, int level, int option_name, const void *optval, socklen_t optlen, struct cred *cr) argument
H A Dsockcommon.c287 socket_getsockopt(struct sonode *so, int level, int option_name, argument
290 return (SOP_GETSOCKOPT(so, level, option_name, optval,
298 socket_setsockopt(struct sonode *so, int level, int option_name, argument
311 return (SOP_SETSOCKOPT(so, level, option_name, optval, optlen, cr));
H A Dsockcommon_subr.c1676 socket_getopt_common(struct sonode *so, int level, int option_name, argument
1682 switch (option_name) {
1694 switch (option_name) {
1732 if (option_name == SO_RCVTIMEO)
H A Dsockfilter.c185 sof_setsockopt_impl(struct sonode *so, int option_name, argument
203 if (option_name == FIL_ATTACH) {
279 } else if (option_name == FIL_DETACH) {
307 sof_setsockopt(struct sonode *so, int option_name, argument
328 error = sof_setsockopt_impl(so, option_name, optval,
339 sof_getsockopt_impl(struct sonode *so, int option_name, argument
350 if (option_name == FIL_LIST) {
380 sof_getsockopt(struct sonode *so, int option_name, argument
393 error = sof_getsockopt_impl(so, option_name, optval, optlenp,
1421 sof_filter_setsockopt(struct sonode *so, int level, int option_name, argument
1429 sof_filter_getsockopt(struct sonode *so, int level, int option_name, void *optval, socklen_t *optlenp, cred_t *cr) argument
[all...]
H A Dsockcommon_sops.c697 so_getsockopt(struct sonode *so, int level, int option_name, argument
703 return (sof_getsockopt(so, option_name, optval, optlenp, cr));
706 SOP_GETSOCKOPT(so, level, option_name, optval, optlenp, flags, cr));
709 (error = sof_filter_getsockopt(so, level, option_name, optval,
711 (error = socket_getopt_common(so, level, option_name, optval,
714 (so->so_proto_handle, level, option_name, optval, optlenp,
724 switch (option_name) {
784 so_setsockopt(struct sonode *so, int level, int option_name, argument
792 return (sof_setsockopt(so, option_name, optval, optlen, cr));
795 SOP_SETSOCKOPT(so, level, option_name, optva
[all...]
H A Dsocksyscalls.c1491 int option_name,
1502 sock, level, option_name, option_value, (void *)option_lenp));
1523 error = socket_getsockopt(so, level, option_name, optval,
1543 int option_name,
1554 sock, level, option_name, option_value, option_len));
1580 error = socket_setsockopt(so, level, option_name, optval,
3053 sogetsockopt(struct sonode *so, int level, int option_name, void *optval, argument
3056 return (socket_getsockopt(so, level, option_name, optval, optlenp,
3061 sosetsockopt(struct sonode *so, int level, int option_name, const void *optval, argument
3064 return (socket_setsockopt(so, level, option_name, optva
1489 getsockopt(int sock, int level, int option_name, void *option_value, socklen_t *option_lenp, int version) argument
1541 setsockopt(int sock, int level, int option_name, void *option_value, socklen_t option_len, int version) argument
[all...]
H A Dsocktpi.c5116 sotpi_getsockopt(struct sonode *so, int level, int option_name, argument
5134 (void *)so, level, option_name, optval, (void *)optlenp,
5148 switch (option_name) {
5210 switch (option_name) {
5230 option_name));
5234 option_name));
5248 value = (so->so_options & option_name);
5253 option_name));
5257 option_name));
5351 if (option_name
5471 sotpi_setsockopt(struct sonode *so, int level, int option_name, const void *optval, t_uscalar_t optlen, struct cred *cr) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c651 sosdp_getsockopt(struct sonode *so, int level, int option_name, argument
665 switch (option_name) {
698 switch (option_name) {
720 value = (so->so_options & option_name);
763 level, option_name, optbuf, &optlen);
798 sosdp_setsockopt(struct sonode *so, int level, int option_name, argument
816 so->so_type, conn, level, option_name));
821 option_name, optval, optlen);
835 switch (option_name) {
869 switch (option_name) {
[all...]
H A Dsockmod_pfp.c658 sdpfp_getsockopt(sock_lower_handle_t handle, int level, int option_name, argument
668 error = pfp_getpacket_sockopt(handle, option_name, optval,
673 if (option_name == SO_RCVBUF) {
702 sdpfp_setsockopt(sock_lower_handle_t handle, int level, int option_name, argument
709 error = pfp_setsocket_sockopt(handle, option_name, optval,
713 error = pfp_setpacket_sockopt(handle, option_name, optval,
1195 pfp_getpacket_sockopt(sock_lower_handle_t handle, int option_name, argument
1204 switch (option_name) {
1244 pfp_setpacket_sockopt(sock_lower_handle_t handle, int option_name, argument
1256 if ((option_name
1335 pfp_setsocket_sockopt(sock_lower_handle_t handle, int option_name, const void *optval, socklen_t optlen) argument
[all...]
H A Dsocksctp.c1223 sosctp_getsockopt(struct sonode *so, int level, int option_name, argument
1234 switch (option_name) {
1242 error = socket_getopt_common(so, level, option_name,
1268 option_name, optbuf, &optlen);
1294 sosctp_setsockopt(struct sonode *so, int level, int option_name, argument
1317 switch (option_name) {
1353 if (option_name == SO_LINGER) {
1363 if ((option_name != SO_RCVBUF) &&
1364 (option_name != SO_SNDBUF)) {
1384 (void *)ss, so->so_type, (void *)conn, level, option_name, i
[all...]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_socket.c373 tcp_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, argument
384 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len,
403 len = tcp_opt_get(connp, level, option_name, optvalp_buf);
424 tcp_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, argument
437 switch (option_name) {
456 error = proto_opt_check(level, option_name, optlen, NULL,
469 error = tcp_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name,
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_net.c166 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, argument
362 return (ksocket_getsockopt(ks, level, option_name, option_val,
370 iscsi_net_setsockopt(void *socket, int level, int option_name, argument
374 return (ksocket_setsockopt(ks, level, option_name, option_val,
/illumos-gate/usr/src/uts/common/inet/ip/
H A Drts.c1349 rts_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, argument
1359 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len,
1371 len = rts_opt_get(connp, level, option_name, optvalp_buf);
1390 rts_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, argument
1397 error = proto_opt_check(level, option_name, optlen, NULL,
1409 error = rts_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name,
H A Dicmp.c5449 rawip_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, argument
5458 error = proto_opt_check(level, option_name, optlen, NULL,
5474 option_name, optlen, (uchar_t *)optvalp, (uint_t *)&optlen,
5483 rawip_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, argument
5495 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len,
5508 len = icmp_opt_get(connp, level, option_name, optvalp_buf);
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c6276 udp_getsockopt(sock_lower_handle_t proto_handle, int level, int option_name, argument
6288 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len,
6299 len = udp_opt_get(connp, level, option_name, optvalp_buf);
6318 udp_setsockopt(sock_lower_handle_t proto_handle, int level, int option_name, argument
6327 error = proto_opt_check(level, option_name, optlen, NULL,
6338 error = udp_opt_set(connp, SETFN_OPTCOM_NEGOTIATE, level, option_name,

Completed in 183 milliseconds