Home
last modified time | relevance | path

Searched refs:optname (Results 1 – 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dinfo.c76 rdsv3_info_register_func(int optname, rdsv3_info_func func) in rdsv3_info_register_func() argument
78 int offset = optname - RDS_INFO_FIRST; in rdsv3_info_register_func()
80 ASSERT(optname >= RDS_INFO_FIRST && optname <= RDS_INFO_LAST); in rdsv3_info_register_func()
90 rdsv3_info_deregister_func(int optname, rdsv3_info_func func) in rdsv3_info_deregister_func() argument
92 int offset = optname - RDS_INFO_FIRST; in rdsv3_info_deregister_func()
94 ASSERT(optname >= RDS_INFO_FIRST && optname <= RDS_INFO_LAST); in rdsv3_info_deregister_func()
111 rdsv3_info_ioctl(struct rsock *sock, int optname, char *optval, in rdsv3_info_ioctl() argument
120 func = rdsv3_info_funcs[optname - RDS_INFO_FIRST]; in rdsv3_info_ioctl()
123 "No Info Function, optname: %d", optname); in rdsv3_info_ioctl()
153 optname, ulen, arg.datap); in rdsv3_info_ioctl()
[all …]
H A Daf_rds.c520 int optname, const void *optval, socklen_t optlen, cred_t *cr) in rdsv3_setsockopt() argument
527 rs, level, optname); in rdsv3_setsockopt()
529 switch (optname) { in rdsv3_setsockopt()
570 int optname, void *optval, socklen_t *optlen, cred_t *cr) in rdsv3_getsockopt() argument
577 rs, optname, *optlen); in rdsv3_getsockopt()
579 switch (optname) { in rdsv3_getsockopt()
608 "Unknown: level: %d optname: %d", level, optname); in rdsv3_getsockopt()
613 rs, optname, ret); in rdsv3_getsockopt()
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dshareutil.c49 char *optname; in add_opt() local
58 optname = optarg; in add_opt()
60 optvalue = strchr(optname, '='); in add_opt()
70 newopt->optname = optname; in add_opt()
83 if (strcmp(tmp->optname, optname) == 0) { in add_opt()
H A Dcommands.c722 char *optname; in chk_opt() local
724 optname = optlist->optname; in chk_opt()
741 sep, optname); in chk_opt()
746 optname, sep); in chk_opt()
752 optname, sep); in chk_opt()
870 optlist->optname, in add_optionset()
880 optlist->optname, in add_optionset()
3582 optlist->optname, in add_security()
3593 optlist->optname, in add_security()
4104 cur->optname); in valid_unset()
[all …]
H A Dsharemgr.h100 char *optname; member
/illumos-gate/usr/src/cmd/idmap/nltest/
H A Dnltest.c250 char *optname; in main() local
260 optname = NULL; in main()
265 optname = arg + 1; in main()
271 if ((p = strchr(optname, ':')) != NULL) { in main()
276 optname = arg + 2; in main()
282 if ((p = strchr(optname, '=')) != NULL) { in main()
298 if (!strcasecmp(optname, cmd->name)) { in main()
306 argv[0], optname); in main()
309 option_cmd = optname; in main()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dbindresvport.c59 int level, optname; in bindresvport() local
83 optname = TCP_ANONPRIVBIND; in bindresvport()
86 optname = UDP_ANONPRIVBIND; in bindresvport()
93 if (setsockopt(sd, level, optname, &optval, sizeof (optval)) < 0) { in bindresvport()
107 (void) setsockopt(sd, level, optname, &optval, sizeof (optval)); in bindresvport()
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c227 opt->optname); in sc_get()
230 propsect, opt->optname)) { in sc_get()
238 section : "", opt->optname, in sc_get()
243 opt->optname, in sc_get()
255 opt->optname); in sc_get()
326 if (strncmp("section", opt->optname, 7) == 0) { in sc_set()
337 opt->optname); in sc_set()
340 opt->optname); in sc_set()
349 opt->optname, opt->optvalue); in sc_set()
370 opt->optname, sa_errorstr(err)); in sc_set()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_set.c39 unsigned char optname[ONMSZ]; variable
62 cp = optname; in set()
64 if (cp < &optname[ONMSZ - 2]) in set()
68 cp = optname; in set()
312 cp = optname; in set()
314 if (cp >= &optname[ONMSZ]) in set()
341 setterm(optname); in set()
343 CP(op->osvalue, optname); in set()
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Doptvalue.c11 u_32_t getoptbyname(optname) in getoptbyname() argument
12 char *optname; in getoptbyname()
17 if (!strcasecmp(optname, io->on_name))
H A Dv6optvalue.c12 u_32_t getv6optbyname(optname) in getv6optbyname() argument
13 char *optname; in getv6optbyname()
19 if (!strcasecmp(optname, io->on_name))
H A Doptname.c12 u_32_t optname(cp, sp, linenum) in optname() function
H A Dextras.c73 if (!(opts = optname(cp, &secmsk, linenum)))
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_trace.c117 char optname[100]; in get_environment() local
132 (void) strncpy(optname, base, p - base); in get_environment()
133 optname[p - base] = '\0'; in get_environment()
144 set_option(optname, optval); in get_environment()
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dinfo.h40 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/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd712 $optname = $$dialinusers{$peer};
713 $optname .= "/" if $optname !~ /\/$/;
714 $optname .= ".ppprc";
716 warn "Home directories of $peer and $optuser{$optname} are the same ($optfiles{$optname}\n";
720 $optuser{$optname} = $peer;
1198 $optname = $peersdir . $peer;
1199 if (-e $optname) {
1208 $optname .= "." . $n;
1210 $optfiles{$optname} = \@pppdargs;
1213 $overwrite{$optname} = 1;
[all …]
/illumos-gate/usr/src/lib/libsocket/socket/
H A Dweaks.c170 _getsockopt(int sock, int level, int optname, char *optval, int *optlen) in _getsockopt() argument
178 switch (optname) { in _getsockopt()
198 sopt.sopt_name = optname; in _getsockopt()
208 return (_so_getsockopt(sock, level, optname, optval, optlen, in _getsockopt()
214 _setsockopt(int sock, int level, int optname, char *optval, socklen_t optlen) in _setsockopt() argument
216 return (_so_setsockopt(sock, level, optname, optval, optlen, in _setsockopt()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c351 char *cp, *optname, *optval; in print_options() local
366 optname = opts; in print_options()
367 if ((optval = next_field(optname, endopts)) == NULL) { in print_options()
375 (void) fputs(optname, stream); in print_options()
H A Dtftp.c587 char *cp, *oackend, *optname, *optval; in process_oack() local
596 optname = cp; in process_oack()
597 if ((optval = next_field(optname, oackend)) == NULL) in process_oack()
602 if (strcasecmp(optname, options[i].opt_name) == 0) in process_oack()
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getsockname.c118 int sock, int level, int optname, void *optval, int *optlen) in pr_getsockopt() argument
126 return (_so_getsockopt(sock, level, optname, optval, optlen)); in pr_getsockopt()
143 adp->arg_value = optname; in pr_getsockopt()
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c542 char *optname; in ap_opt_parse() local
554 optname = ap_opt_names[opt]; in ap_opt_parse()
562 ap_err(a, ERR_OPT_INVAL, optname); in ap_opt_parse()
571 ap_err(a, ERR_OPT_NOVAL, optname); in ap_opt_parse()
574 ap_err(a, ERR_OPT_VAL, optname); in ap_opt_parse()
625 ap_err(a, ERR_OPT_INVAL, optname); in ap_opt_parse()
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_messages.h79 int rdr_setsockopt(int fd, int level, int optname, const void *optval,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c2601 ra_intloptname(const char *optname) in ra_intloptname() argument
2603 if (strcmp(optname, RA_OPT_IPV4_FORWARDING) == 0) in ra_intloptname()
2605 else if (strcmp(optname, RA_OPT_IPV4_ROUTING) == 0) in ra_intloptname()
2607 else if (strcmp(optname, RA_OPT_IPV6_FORWARDING) == 0) in ra_intloptname()
2609 else if (strcmp(optname, RA_OPT_IPV6_ROUTING) == 0) in ra_intloptname()
2611 else if (strcmp(optname, RA_VAR_IPV4_ROUTING_DAEMON) == 0) in ra_intloptname()
2613 else if (strcmp(optname, RA_VAR_IPV4_ROUTING_DAEMON_ARGS) == 0) in ra_intloptname()
2615 else if (strcmp(optname, RA_VAR_IPV4_ROUTING_STOP_CMD) == 0) in ra_intloptname()
2617 else if (strcmp(optname, RA_VAR_IPV6_ROUTING_DAEMON) == 0) in ra_intloptname()
2621 else if (strcmp(optname, RA_VAR_IPV6_ROUTING_STOP_CMD) == 0) in ra_intloptname()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c456 __rpc_tli_set_options(int fd, int optlevel, int optname, int optval) in __rpc_tli_set_options() argument
465 switch (optname) { in __rpc_tli_set_options()
512 topt->name = optname; in __rpc_tli_set_options()
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c1060 char *optname; in go() member
1075 if (dtrace_getopt(g_dtp, bufs[i].optname, &bufs[i].val) == -1) in go()
1076 fatal("couldn't get option %s", bufs[i].optname); in go()
1080 if (dtrace_getopt(g_dtp, rates[i].optname, &rates[i].val) == -1) in go()
1081 fatal("couldn't get option %s", rates[i].optname); in go()
1094 (void) dtrace_getopt(g_dtp, bufs[i].optname, &nsize); in go()
1121 (void) dtrace_getopt(g_dtp, rates[i].optname, &nval); in go()

12