/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | getsockopt.c | 34 getsockopt(int s, int level, int optname, char *optval, int *optlen) argument 37 if ((a = _getsockopt(s, level, optname, optval, optlen)) == -1)
|
H A D | setsockopt.c | 47 setsockopt(int s, int level, int optname, char *optval, int optlen) argument 52 switch (optname) { 79 if ((a = _setsockopt(s, level, optname, &val, 86 switch (optname) { 88 optname = SUNOS5X_IP_MULTICAST_IF; 92 optname = SUNOS5X_IP_MULTICAST_TTL; 96 optname = SUNOS5X_IP_MULTICAST_LOOP; 100 optname = SUNOS5X_IP_ADD_MEMBERSHIP; 104 optname = SUNOS5X_IP_DROP_MEMBERSHIP; 108 if ((a = _setsockopt(s, level, optname, optva [all...] |
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | optname.c | 6 * $Id: optname.c,v 1.3 2001/06/09 17:09:24 darrenr Exp $ 12 u_32_t optname(cp, sp, linenum) function
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | shareutil.c | 49 char *optname; local 58 optname = optarg; 60 optvalue = strchr(optname, '='); 70 newopt->optname = optname; 83 if (strcmp(tmp->optname, optname) == 0) {
|
H A D | sharemgr.h | 100 char *optname; member in struct:options
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | bindresvport.c | 59 int level, optname; local 83 optname = TCP_ANONPRIVBIND; 86 optname = UDP_ANONPRIVBIND; 93 if (setsockopt(sd, level, optname, &optval, sizeof (optval)) < 0) { 107 (void) setsockopt(sd, level, optname, &optval, sizeof (optval));
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | info.c | 76 rdsv3_info_register_func(int optname, rdsv3_info_func func) argument 78 int offset = optname - RDS_INFO_FIRST; 80 ASSERT(optname >= RDS_INFO_FIRST && optname <= RDS_INFO_LAST); 90 rdsv3_info_deregister_func(int optname, rdsv3_info_func func) argument 92 int offset = optname - RDS_INFO_FIRST; 94 ASSERT(optname >= RDS_INFO_FIRST && optname <= RDS_INFO_LAST); 111 rdsv3_info_ioctl(struct rsock *sock, int optname, char *optval, argument 120 func = rdsv3_info_funcs[optname [all...] |
H A D | af_rds.c | 520 int optname, const void *optval, socklen_t optlen, cred_t *cr) 527 rs, level, optname); 529 switch (optname) { 570 int optname, void *optval, socklen_t *optlen, cred_t *cr) 577 rs, optname, *optlen); 579 switch (optname) { 608 "Unknown: level: %d optname: %d", level, optname); 613 rs, optname, ret); 519 rdsv3_setsockopt(sock_lower_handle_t proto_handle, int level, int optname, const void *optval, socklen_t optlen, cred_t *cr) argument 569 rdsv3_getsockopt(sock_lower_handle_t proto_handle, int level, int optname, void *optval, socklen_t *optlen, cred_t *cr) argument
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_set.c | 39 unsigned char optname[ONMSZ]; variable 62 cp = optname; 64 if (cp < &optname[ONMSZ - 2]) 68 cp = optname; 312 cp = optname; 314 if (cp >= &optname[ONMSZ]) 341 setterm(optname); 343 CP(op->osvalue, optname);
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_trace.c | 117 char optname[100]; local 132 (void) strncpy(optname, base, p - base); 133 optname[p - base] = '\0'; 144 set_option(optname, optval);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_getsockname.c | 118 int sock, int level, int optname, void *optval, int *optlen) 126 return (_so_getsockopt(sock, level, optname, optval, optlen)); 142 adp++; /* optname argument */ 143 adp->arg_value = optname; 117 pr_getsockopt(struct ps_prochandle *Pr, int sock, int level, int optname, void *optval, int *optlen) argument
|
/illumos-gate/usr/src/cmd/idmap/nltest/ |
H A D | nltest.c | 250 char *optname; local 260 optname = NULL; 265 optname = arg + 1; 269 * May have /optname:value 271 if ((p = strchr(optname, ':')) != NULL) { 276 optname = arg + 2; 280 * May have --optname=value 282 if ((p = strchr(optname, '=')) != NULL) { 292 * Handle each optname (and maybe its optval) 298 if (!strcasecmp(optname, cm [all...] |
/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | weaks.c | 170 _getsockopt(int sock, int level, int optname, char *optval, int *optlen) argument 178 switch (optname) { 198 sopt.sopt_name = optname; 208 return (_so_getsockopt(sock, level, optname, optval, optlen, 214 _setsockopt(int sock, int level, int optname, char *optval, int optlen) argument 216 return (_so_setsockopt(sock, level, optname, optval, optlen,
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | ti_opts.c | 456 __rpc_tli_set_options(int fd, int optlevel, int optname, int optval) argument 465 switch (optname) { 512 topt->name = optname;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftpsubs.c | 351 char *cp, *optname, *optval; local 366 optname = opts; 367 if ((optval = next_field(optname, endopts)) == NULL) { 375 (void) fputs(optname, stream);
|
H A D | tftp.c | 586 char *cp, *oackend, *optname, *optval; local 595 optname = cp; 596 if ((optval = next_field(optname, oackend)) == NULL) 601 if (strcasecmp(optname, options[i].opt_name) == 0)
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.c | 542 char *optname; local 554 optname = ap_opt_names[opt]; 562 ap_err(a, ERR_OPT_INVAL, optname); 571 ap_err(a, ERR_OPT_NOVAL, optname); 574 ap_err(a, ERR_OPT_VAL, optname); 625 ap_err(a, ERR_OPT_INVAL, optname);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | tlx.c | 257 tlx_setsockopt(int fd, int level, int optname, const void *optval, argument 272 optbuf.sockopt.name = optname;
|
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 605 ksocket_getsockopt(ksocket_t ks, int level, int optname, void *optval, argument 623 return (socket_getsockopt(so, level, optname, optval, 628 ksocket_setsockopt(ksocket_t ks, int level, int optname, const void *optval, argument 644 return (socket_setsockopt(so, level, optname, optval,
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | ksocket.c | 511 ksocket_setsockopt(ksocket_t ks, int level, int optname, const void *optval, argument 523 if (setsockopt(KSTOSO(ks), level, optname, optval, optlen) != 0)
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | rdma_user_cm.h | 246 uint32_t optname; member in struct:rdma_ucm_set_option
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 662 char *cp, *optname, *optval, *ostr, *oackend; local 685 optname = opts; 686 if ((optval = next_field(optname, endopts)) == NULL) { 695 if (strcasecmp(optname, options[i].opt_name) == 0)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | dacf.c | 114 const char *optname; member in struct:dacf_opt 1134 while (p->optname != NULL) { 1135 if (strcmp(opt_str, p->optname) == 0) {
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 740 * sa_is_security(optname, proto) 742 * Check to see if optname is a security (named optionset) specific 747 sa_is_security(char *optname, char *proto) argument 751 ret = sa_proto_security_prop(proto, optname);
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_messages.c | 1254 rdr_setsockopt(int fd, int level, int optname, const void *optval, int optlen) argument 1256 if (setsockopt(fd, level, optname, optval, optlen) == -1)
|