/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | bindresvport.c | 57 int optval; local 71 len = sizeof (optval); 72 if (getsockopt(sd, SOL_SOCKET, SO_TYPE, &optval, &len) < 0) { 79 if (optval == SOCK_STREAM) { 82 } else if (optval == SOCK_DGRAM) { 90 optval = 1; 91 if (setsockopt(sd, level, optname, &optval, sizeof (optval)) < 0) { 104 optval = 0; 105 (void) setsockopt(sd, level, optname, &optval, sizeo [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_getsockname.c | 116 int sock, int level, int optname, void *optval, int *optlen) 124 return (_so_getsockopt(sock, level, optname, optval, optlen)); 147 adp++; /* optval argument */ 149 adp->arg_object = optval; 115 pr_getsockopt(struct ps_prochandle *Pr, int sock, int level, int optname, void *optval, int *optlen) argument
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_trace.c | 118 char optval[100]; local 139 (void) strncpy(optval, base, p - base); 140 optval[p - base] = '\0'; 142 optval[0] = '\0'; 144 set_option(optname, optval);
|
/osnet-11/usr/src/lib/libsocket/socket/ |
H A D | weaks.c | 160 _getsockopt(int sock, int level, int optname, char *optval, int *optlen) argument 184 bcopy(optval, &id, sizeof (id)); 189 optval)->sinfo_assoc_id, &id, sizeof (id)); 195 sopt.sopt_val = optval; 204 return (_so_getsockopt(sock, level, optname, optval, optlen, 210 _setsockopt(int sock, int level, int optname, char *optval, int optlen) argument 212 return (_so_setsockopt(sock, level, optname, optval, optlen,
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | ti_opts.c | 449 __rpc_tli_set_options(int fd, int optlevel, int optname, int optval) argument 475 ling->l_linger = (int)optval; 495 *ip = optval;
|
H A D | clnt_vc.c | 383 _set_tcp_conntime(int fd, int optval) argument 401 *ip = optval;
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet_sundry.c | 907 int *optval; local 985 optval = (int *)((char *)reqbuf + sizeof (struct opthdr)); 986 *optval = 1; 1014 *optval = 0;
|
/osnet-11/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_consume.c | 148 dtrace_optval_t optval; local 178 if (dtrace_getopt(dtp, "flowindent", &optval) == -1) { 185 jc->dtjj_consumer->dtjc_flow = (optval != DTRACEOPT_UNSET);
|
H A D | dtrace_jni.c | 1022 dtrace_optval_t optval; local 1046 if (dtrace_getopt(dtp, opt, &optval) == -1) { 1054 return (optval);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 859 char optval[100]; local 889 if ((p-base) >= sizeof (optval)) 892 (void) strncpy(optval, base, p-base); 893 optval[p-base] = '\0'; 895 optval[0] = '\0'; 898 set_option(opt, optname, optval);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | perlio.c | 2907 int optval; local 2909 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *) &optval, &optlen) == 0) {
|