/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/libbc/libc/sys/common/ |
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...] |
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)
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | optvalue.c | 11 u_32_t getoptbyname(optname) 12 char *optname; 17 if (!strcasecmp(optname, io->on_name))
|
H A D | v6optvalue.c | 12 u_32_t getv6optbyname(optname) 13 char *optname; 19 if (!strcasecmp(optname, io->on_name))
|
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
|
H A D | extras.c | 73 if (!(opts = optname(cp, &secmsk, linenum)))
|
/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/uts/common/sys/ib/clients/rdsv3/ |
H A D | info.h | 40 void rdsv3_info_register_func(int optname, rdsv3_info_func func); 41 void rdsv3_info_deregister_func(int optname, rdsv3_info_func func); 42 int rdsv3_info_ioctl(struct rsock *sock, int optname, char *optval,
|
/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/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/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/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/cmd/dcs/sparc/sun4u/ |
H A D | rdr_messages.h | 79 int rdr_setsockopt(int fd, int level, int optname, const void *optval,
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/ |
H A D | sharectl.c | 227 opt->optname); 230 propsect, opt->optname)) { 238 section : "", opt->optname, 243 opt->optname, 255 opt->optname); 326 if (strncmp("section", opt->optname, 7) == 0) { 337 opt->optname); 340 opt->optname); 349 opt->optname, opt->optvalue); 370 opt->optname, sa_errorst [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/libsocket/common/ |
H A D | llib-lsocket | 99 int getsockopt(int s, int level, int optname, void *optval, Psocklen_t optlen); 100 int setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen); 118 int _getsockopt(int s, int level, int optname, char *optval, int *optlen); 119 int _setsockopt(int s, int level, int optname, const char *optval, int optlen);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 712 $optname = $$dialinusers{$peer}; 713 $optname .= "/" if $optname !~ /\/$/; 714 $optname .= ".ppprc"; 715 if (exists($optfiles{$optname})) { 716 warn "Home directories of $peer and $optuser{$optname} are the same ($optfiles{$optname}\n"; 720 $optuser{$optname} = $peer; 725 $optfiles{$optname} = \@pppdargs; 1198 $optname [all...] |
/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);
|
/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/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/ipf/lib/ |
H A D | Makefile.com | 45 nat_setgroupmap.o ntomask.o optname.o optprint.o \
|
/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;
|