Searched refs:optname (Results 1 - 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dshareutil.c49 char *optname; local
58 optname = optarg;
60 optvalue = strchr(optname, '=');
70 newopt->optname = optname;
83 if (strcmp(tmp->optname, optname) == 0) {
H A Dsharemgr.h100 char *optname; member in struct:options
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsetsockopt.c47 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 Dgetsockopt.c34 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 Doptvalue.c11 u_32_t getoptbyname(optname)
12 char *optname;
17 if (!strcasecmp(optname, io->on_name))
H A Dv6optvalue.c12 u_32_t getv6optbyname(optname)
13 char *optname;
19 if (!strcasecmp(optname, io->on_name))
H A Doptname.c6 * $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 Dextras.c73 if (!(opts = optname(cp, &secmsk, linenum)))
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dinfo.c76 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 Daf_rds.c520 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 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/lib/libsocket/inet/
H A Dbindresvport.c59 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 Dnltest.c250 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 Dns_trace.c117 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 Dex_set.c39 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 Drdr_messages.h79 int rdr_setsockopt(int fd, int level, int optname, const void *optval,
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c227 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 Dweaks.c170 _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 Dllib-lsocket99 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 Dasppp2pppd712 $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 Dtftpsubs.c351 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 Dpr_getsockname.c118 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 Dap.c542 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 DMakefile.com45 nat_setgroupmap.o ntomask.o optname.o optprint.o \
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c456 __rpc_tli_set_options(int fd, int optlevel, int optname, int optval) argument
465 switch (optname) {
512 topt->name = optname;

Completed in 184 milliseconds

12