/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/ |
H A D | tcp_usrreq.c | 1657 int error, opt, optval; local 1691 error = sooptcopyin(sopt, &optval, sizeof optval, 1692 sizeof optval); 1711 if (optval) 1717 error = sooptcopyin(sopt, &optval, sizeof optval, 1718 sizeof optval); 1722 if (optval) 1728 error = sooptcopyin(sopt, &optval, sizeo [all...] |
H A D | raw_ip.c | 551 int error, optval; local 564 optval = inp->inp_flags & INP_HDRINCL; 565 error = sooptcopyout(sopt, &optval, sizeof optval); 569 optval = inp->inp_flags & INP_STRIPHDR; 570 error = sooptcopyout(sopt, &optval, sizeof optval); 620 error = sooptcopyin(sopt, &optval, sizeof optval, 621 sizeof optval); [all...] |
H A D | in_tclass.c | 634 so_set_traffic_class(struct socket *so, int optval) argument 638 if (optval < SO_TC_BE || optval > SO_TC_CTL) { 641 switch (optval) { 643 optval = SO_TC_BK; 646 optval = SO_TC_VI; 649 optval = SO_TC_VO; 652 if (!SO_VALID_TC(optval)) 660 VERIFY(SO_VALID_TC(optval)); 661 so->so_traffic_class = optval; 704 so_set_opportunistic(struct socket *so, int optval) argument 1128 so_set_lro(struct socket *so, int optval) argument [all...] |
H A D | ip_output.c | 2300 int error, optval; local 2302 error = optval = 0; 2343 error = sooptcopyin(sopt, &optval, sizeof (optval), 2344 sizeof (optval)); 2350 inp->inp_ip_tos = optval; 2354 inp->inp_ip_ttl = optval; 2357 if (optval) \ 2478 error = sooptcopyin(sopt, &optval, sizeof (optval), [all...] |
H A D | mptcp_usrreq.c | 1548 int error = 0, optval, level, optname, rec = 1; local 1606 if ((error = sooptcopyin(sopt, &optval, sizeof (optval), 1607 sizeof (optval))) != 0) 1622 sizeof (buf)), optval, 1627 mpo->mpo_intval = optval; 1643 mpo->mpo_intval = optval; 1663 sizeof (buf)), optval, (mpo->mpo_flags & MPOF_INTERIM) ? 1680 int error = 0, optval; local 1705 error = mptcp_default_tcp_optval(mpte, sopt, &optval); 1739 mptcp_default_tcp_optval(struct mptses *mpte, struct sockopt *sopt, int *optval) argument [all...] |
H A D | udp_usrreq.c | 919 int error, optval; local 940 if ((error = sooptcopyin(sopt, &optval, sizeof (optval), 941 sizeof (optval))) != 0) 944 if (optval != 0) 951 if ((error = sooptcopyin(sopt, &optval, sizeof (optval), 952 sizeof (optval))) != 0) 955 error = inp_flush(inp, optval); 967 optval [all...] |
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/ldapc++/src/ |
H A D | TlsOptions.cpp | 17 int optval; member in struct:tls_optmap 66 int ret = ldap_set_option( m_ld, optmap[opt].optval, value); 79 int ret = ldap_get_option( m_ld, optmap[opt].optval, value); 93 ldap_get_option( m_ld, optmap[opt].optval, (void*) &value); 100 ldap_get_option( m_ld, optmap[opt].optval, (void*) &value);
|
/macosx-10.9.5/OpenSSH-186/openssh/ |
H A D | roaming_common.c | 55 int optval; local 56 socklen_t optvallen = sizeof(optval); 58 if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &optval, &optvallen) != 0) 59 optval = DEFAULT_ROAMBUF; 60 return optval; 67 int optval; local 68 socklen_t optvallen = sizeof(optval); 70 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &optval, &optvallen) != 0) 71 optval = DEFAULT_ROAMBUF; 72 return optval; [all...] |
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/ |
H A D | socket_wrapper.h | 46 int swrap_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen); 47 int swrap_setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen); 92 #define getsockopt(s,level,optname,optval,optlen) swrap_getsockopt(s,level,optname,optval,optlen) 97 #define setsockopt(s,level,optname,optval,optlen) swrap_setsockopt(s,level,optname,optval,optlen)
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | uipc_socket.c | 3343 int error, optval; local 3419 error = sooptcopyin(sopt, &optval, sizeof (optval), 3420 sizeof (optval)); 3423 if (optval) 3433 error = sooptcopyin(sopt, &optval, sizeof (optval), 3434 sizeof (optval)); 3442 if (optval < 1) { 3453 if (sbreserve(sb, (u_int32_t)optval) 3873 int error, optval; local 4964 so_set_recv_anyif(struct socket *so, int optval) argument [all...] |
H A D | kpi_socket.c | 438 sock_getsockopt(socket_t sock, int level, int optname, void *optval, argument 444 if (sock == NULL || optval == NULL || optlen == NULL) 450 sopt.sopt_val = CAST_USER_ADDR_T(optval); 466 sock_setsockopt(socket_t sock, int level, int optname, const void *optval, argument 471 if (sock == NULL || optval == NULL) 477 sopt.sopt_val = CAST_USER_ADDR_T(optval); 506 sock_settclassopt(socket_t sock, const void *optval, size_t optlen) argument 512 if (sock == NULL || optval == NULL || optlen != sizeof (int)) 536 sotc = so_tc_from_dscp((*(const int *)optval) >> 2); 562 sopt.sopt_val = CAST_USER_ADDR_T(optval); 589 sock_gettclassopt(socket_t sock, void *optval, size_t *optlen) argument [all...] |
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/ |
H A D | kpi_socket.h | 188 @param optval The option value. 189 @param optlen The length of optval, returns the actual length. 193 void *optval, int *optlen); 211 @param optval The option value. 212 @param optlen The length of optval. 216 const void *optval, int optlen); 229 @param optval The option value. 230 @param optlen The length of optval. 233 extern errno_t sock_settclassopt(socket_t so, const void* optval, size_t optlen); 244 @param optval Th [all...] |
/macosx-10.9.5/curl-78.94.1/curl/lib/ |
H A D | connect.c | 111 int optval = data->set.tcp_keepalive?1:0; local 115 (void *)&optval, sizeof(optval)) < 0) { 123 optval = curlx_sltosi(data->set.tcp_keepidle); 124 KEEPALIVE_FACTOR(optval); 125 vals.keepalivetime = optval; 126 optval = curlx_sltosi(data->set.tcp_keepintvl); 127 KEEPALIVE_FACTOR(optval); 128 vals.keepaliveinterval = optval; 136 optval [all...] |
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet6/ |
H A D | ip6_output.c | 2054 int error = 0, optval = 0; local 2121 error = sooptcopyin(sopt, &optval, 2122 sizeof (optval), sizeof (optval)); 2128 if (optval < -1 || optval >= 256) { 2132 in6p->in6p_hops = optval; 2136 optval; 2141 if (optval) \ 2149 if (optval) \ 2731 int error = 0, optval, optlen; local [all...] |
H A D | ip6_mroute.c | 270 int optval; local 283 error = sooptcopyin(sopt, &optval, sizeof(optval), 284 sizeof(optval)); 287 error = ip6_mrouter_init(so, optval, sopt->sopt_name); 317 error = sooptcopyin(sopt, &optval, sizeof(optval), 318 sizeof(optval)); 321 error = set_pim6(&optval);
|
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/comm/ |
H A D | comm.tcl | 618 set optval [lindex $args $opt] 621 if {![string equal $optval ""]} { 624 foreach ev $optval { 639 set $var $optval 644 ![string equal $optval ""] && 645 ![interp exists $optval] 651 set $var $optval 656 set $var [string is true -strict $optval] 661 set $var $optval 666 ![string equal $optval ""] [all...] |
/macosx-10.9.5/network_cmds-433/mtest.tproj/ |
H A D | mtest.c | 374 void *optval; local 441 optval = (void *)&mr.mrs; 451 optval = (void *)&mr.mr; 456 if (setsockopt(s, level, optname, optval, 481 optval = (void *)&mr.gr; 493 optval = (void *)&mr.mr6; 498 if (setsockopt(s6, level, optname, optval, 614 optval = (void *)&mr.mrs; 636 if (setsockopt(s, level, optname, optval, 670 optval [all...] |
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tk/ |
H A D | itemconfig.rb | 186 optval = tk_call_without_enc(*(__item_cget_cmd(tagid(tagOrId)) << "-#{option}")) 188 return method.call(tagOrId, optval) 190 warn("Warning:: #{e.message} (when #{method}.call(#{tagOrId.inspect}, #{optval.inspect})") if $DEBUG 191 return optval 443 optval = conf[__item_configinfo_struct(tagid(tagOrId))[:default_value]] 445 val = method.call(tagOrId, optval) 447 warn("Warning:: #{e.message} (when #{method}.call(#{tagOrId.inspect}, #{optval.inspect})") if $DEBUG 448 val = optval 453 optval = conf[__item_configinfo_struct(tagid(tagOrId))[:current_value]] 455 val = method.call(tagOrId, optval) [all...] |
/macosx-10.9.5/ruby-104/ruby/ext/gdbm/ |
H A D | gdbm.c | 1092 int optval; local 1095 optval = FIX2INT(val); 1096 if (gdbm_setopt(dbm, GDBM_CACHESIZE, &optval, sizeof(optval)) == -1) { 1117 int optval; local 1120 optval = 0; 1122 optval = 1; 1124 if (gdbm_setopt(dbm, GDBM_FASTMODE, &optval, sizeof(optval)) == -1) { 1152 int optval; [all...] |
/macosx-10.9.5/network_cmds-433/ping6.tproj/ |
H A D | ping6.c | 339 int ch, hold, packlen, preload, optval, ret_ga; local 819 optval = 1; 822 &optval, sizeof(optval)) == -1) 833 optval = IPV6_DEFHLIM; 836 &optval, sizeof(optval)) == -1) 840 optval = mflag > 1 ? 0 : 1; 843 &optval, sizeof(optval)) [all...] |
/macosx-10.9.5/dcerpc-58/dcerpc/idl_compiler/ |
H A D | getflags.c | 221 boolean optval; 245 optval = false; /* This is not OptVal with no white space */ 317 if (!optval) 452 optval = true; /* Parsed -OptVal with no white space */ 217 boolean optval; local
|
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tkextlib/tile/ |
H A D | treeview.rb | 52 optval = tk_call_without_enc(*(__item_confinfo_cmd(tagid(tagOrId)) << "-#{slot}")) 54 val = method.call(tagOrId, optval) 56 warn("Warning:: #{e.message} (when #{method}lcall(#{tagOrId.inspect}, #{optval.inspect})") if $DEBUG 57 val = optval 124 optval = conf[1] 126 val = method.call(tagOrId, optval) 128 warn("Warning:: #{e.message} (when #{method}.call(#{tagOrId.inspect}, #{optval.inspect})") if $DEBUG 129 val = optval 223 optval = tk_call_without_enc(*(__item_confinfo_cmd(tagid(tagOrId)) << "-#{slot}")) 225 val = method.call(tagOrId, optval) [all...] |
/macosx-10.9.5/ppp-727.90.1/Drivers/PPTP/PPTP-extension/ |
H A D | pptp_proto.c | 220 int error, optval; local 228 error = optval = 0;
|
/macosx-10.9.5/ruby-104/ruby/ext/openssl/lib/openssl/ |
H A D | ssl.rb | 67 def setsockopt(level, optname, optval) 68 to_io.setsockopt(level, optname, optval)
|
/macosx-10.9.5/ppp-727.90.1/Drivers/L2TP/L2TP-vpn/ |
H A D | main.c | 442 int l2tp_sys_getsockopt(int sockfd, int level, int optname, void *optval, socklen_t *optlen) argument 444 while (getsockopt(sockfd, level, optname, optval, optlen) < 0) 452 int l2tp_sys_setsockopt(int sockfd, int level, int optname, const void *optval, socklen_t optlen) argument 454 while (setsockopt(sockfd, level, optname, optval, optlen) < 0)
|