/titanic_53/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 109 struct sctpopt opt; in sctp_getpaddrs() local 119 opt.sopt_aid = id; in sctp_getpaddrs() 120 opt.sopt_name = SCTP_GET_NPADDRS; in sctp_getpaddrs() 121 opt.sopt_val = (caddr_t)&naddrs; in sctp_getpaddrs() 122 opt.sopt_len = sizeof (naddrs); in sctp_getpaddrs() 123 if (ioctl(sock, SIOCSCTPGOPT, &opt) == -1) { in sctp_getpaddrs() 138 opt.sopt_name = SCTP_GET_PADDRS; in sctp_getpaddrs() 139 opt.sopt_val = *addrs; in sctp_getpaddrs() 140 opt.sopt_len = bufsz; in sctp_getpaddrs() 141 if (ioctl(sock, SIOCSCTPGOPT, &opt) == -1) { in sctp_getpaddrs() [all …]
|
/titanic_53/usr/src/stand/lib/inet/ |
H A D | dhcpv4.c | 107 parameter_request_list(uint8_t **opt) in parameter_request_list() argument 122 if (opt && *opt) { in parameter_request_list() 123 bcopy(prlist, *opt, sizeof (prlist)); in parameter_request_list() 124 *opt += sizeof (prlist); in parameter_request_list() 132 set_hw_spec_data(PKT *p, uint8_t **opt, uint8_t *pkttype) in set_hw_spec_data() argument 156 if (opt && *opt) { in set_hw_spec_data() 195 bcopy(dhcp_classid, *opt, dhcp_classid[1] + 2); in set_hw_spec_data() 196 *opt += dhcp_classid[1] + 2; in set_hw_spec_data() 600 uint8_t *opt, ulen; in dhcp_decline() local 614 opt = init_msg(pkt, opt_decline); in dhcp_decline() [all …]
|
/titanic_53/usr/src/cmd/sgs/lari/ |
H A D | lari.pl | 35 use vars qw($Rtld $GlobWeak $MultSyms $CrtSyms $Platform $DbgSeed %opt); 161 if ((getopts('abCDd:imosVv', \%opt) == 0) || ($#ARGV < 0)) { 194 if ($opt{m}) { 195 if ($opt{a}) { 197 $opt{a} = 0; 199 if ($opt{i}) { 201 $opt{i} = 0; 204 if ($opt{d}) { 206 $opt{d} = 0; 209 if ($opt{a}) { [all …]
|
/titanic_53/usr/src/lib/libnsl/nsl/ |
H A D | t_optmgmt.c | 73 struct t_opthdr *opt, *next_opt; in _tx_optmgmt() local 111 optlen = req->opt.len; in _tx_optmgmt() 119 if (req->opt.buf == NULL || in _tx_optmgmt() 127 opt_start = (struct t_opthdr *)req->opt.buf; in _tx_optmgmt() 167 for (opt = opt_start; opt < opt_end; opt = next_opt) { in _tx_optmgmt() 195 next_opt = (struct t_opthdr *)((uchar_t *)opt + in _tx_optmgmt() 196 ROUNDUP_XTI_opthdr(opt->len)); in _tx_optmgmt() 198 if ((uchar_t *)next_opt < (uchar_t *)opt || /* (1) */ in _tx_optmgmt() 202 (opt->level != first_opt_level)) { /* (3) */ in _tx_optmgmt() 211 if (opt->name == T_ALLOPT) { in _tx_optmgmt() [all …]
|
H A D | t_free.c | 48 struct t_optmgmt *opt; in _tx_free() member 72 if (p.call->opt.buf != NULL) in _tx_free() 73 free(p.call->opt.buf); in _tx_free() 80 p.opt = (struct t_optmgmt *)ptr; in _tx_free() 81 if (p.opt->opt.buf != NULL) in _tx_free() 82 free(p.opt->opt.buf); in _tx_free() 97 if (p.udata->opt.buf != NULL) in _tx_free() 98 free(p.udata->opt.buf); in _tx_free() 108 if (p.uderr->opt.buf != NULL) in _tx_free() 109 free(p.uderr->opt.buf); in _tx_free()
|
/titanic_53/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | bash.c | 194 Shopt_t newflags=shp->options, opt; in b_shopt() local 197 memset(&opt,0,sizeof(opt)); in b_shopt() 240 opt=newflags; in b_shopt() 243 opt.v[n]=~newflags.v[n]; in b_shopt() 245 memset(&opt,0xff,sizeof(opt)); in b_shopt() 253 && (is_option(&opt,SH_INTERACTIVE) in b_shopt() 254 || is_option(&opt,SH_RESTRICTED) in b_shopt() 255 || is_option(&opt,SH_RESTRICTED2) in b_shopt() 256 || is_option(&opt,SH_BASH) in b_shopt() 257 || is_option(&opt,SH_LOGIN_SHELL))) in b_shopt() [all …]
|
/titanic_53/usr/src/pkg/manifests/ |
H A D | system-test-ostest.mf | 23 dir path=opt/os-tests 24 dir path=opt/os-tests/bin 25 dir path=opt/os-tests/runfiles 26 dir path=opt/os-tests/tests 27 dir path=opt/os-tests/tests/sigqueue 28 file path=opt/os-tests/README mode=0444 29 file path=opt/os-tests/bin/ostest mode=0555 30 file path=opt/os-tests/runfiles/delphix.run mode=0444 31 file path=opt/os-tests/runfiles/omnios.run mode=0444 32 file path=opt/os-tests/runfiles/openindiana.run mode=0444 [all …]
|
H A D | system-test-testrunner.mf | 23 dir path=opt/test-runner 24 dir path=opt/test-runner/bin 25 dir path=opt/test-runner/man 26 dir path=opt/test-runner/man/man1 27 dir path=opt/test-runner/stf 28 dir path=opt/test-runner/stf/contrib 29 dir path=opt/test-runner/stf/contrib/include 30 dir path=opt/test-runner/stf/include 32 file path=opt/test-runner/bin/run mode=0555 \ 34 file path=opt/test-runner/man/man1/run.1 mode=0444 [all …]
|
/titanic_53/usr/src/tools/scripts/ |
H A D | check_rtime.pl | 59 use vars qw(%opt); 280 if ($opt{m}) { 306 if ($opt{m} && ($Con == 1)) { 426 "continued ...") if !$opt{o}; 581 } elsif ($opt{i}) { 596 if ($opt{i} && ($Line =~ /RPATH/)) { 613 if ($opt{s} && $Stab) { 645 if ($Verdef eq 'VERDEF') && $opt{v}; 750 my $tab = $opt{o} ? '' : "\t"; 792 if ($opt{o}) { [all …]
|
/titanic_53/usr/src/lib/libeti/menu/common/ |
H A D | itemopts.c | 39 set_item_opts(ITEM *i, OPTIONS opt) in set_item_opts() argument 42 if (Iopt(i) != opt) { in set_item_opts() 43 Iopt(i) = opt; in set_item_opts() 45 if ((opt & O_SELECTABLE) == 0) { in set_item_opts() 56 Iopt(Dfl_Item) = opt; in set_item_opts() 62 item_opts_off(ITEM *i, OPTIONS opt) in item_opts_off() argument 64 return (set_item_opts(i, (Iopt(i ? i : Dfl_Item)) & ~opt)); in item_opts_off() 68 item_opts_on(ITEM *i, OPTIONS opt) in item_opts_on() argument 70 return (set_item_opts(i, (Iopt(i ? i : Dfl_Item)) | opt)); in item_opts_on()
|
H A D | menuopts.c | 39 set_menu_opts(MENU *m, int opt) in set_menu_opts() argument 50 if ((opt & O_ROWMAJOR) != RowMajor(m)) { in set_menu_opts() 57 if ((opt & O_NONCYCLIC) != (Mopt(m) & O_NONCYCLIC)) { in set_menu_opts() 61 Mopt(m) = opt; in set_menu_opts() 70 Mopt(Dfl_Menu) = opt; in set_menu_opts() 76 menu_opts_off(MENU *m, OPTIONS opt) in menu_opts_off() argument 78 return (set_menu_opts(m, (Mopt(m ? m : Dfl_Menu)) & ~opt)); in menu_opts_off() 82 menu_opts_on(MENU *m, OPTIONS opt) in menu_opts_on() argument 84 return (set_menu_opts(m, (Mopt(m ? m : Dfl_Menu)) | opt)); in menu_opts_on()
|
/titanic_53/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcp.c | 630 display_ip(int items, char *fmt, char *msg, unsigned char **opt) in display_ip() argument 636 memcpy((char *)&tmp, *opt, sizeof (struct in_addr)); in display_ip() 638 *opt += 4; in display_ip() 643 display_ascii(char *fmt, char *msg, unsigned char **opt) in display_ascii() argument 646 int len = **opt; in display_ascii() 651 (*opt)++; in display_ascii() 652 memcpy(buf, *opt, len); in display_ascii() 655 (*opt) += slen; in display_ascii() 659 display_number(char *fmt, char *msg, unsigned char **opt) in display_number() argument 661 int len = **opt; in display_number() [all …]
|
H A D | snoop_ip.c | 590 print_ipoptions(const uchar_t *opt, int optlen) in print_ipoptions() argument 609 len = opt[1]; in print_ipoptions() 611 switch (opt[0]) { in print_ipoptions() 622 print_route(opt); in print_ipoptions() 631 print_ripso(opt); in print_ipoptions() 636 print_cipso(opt); in print_ipoptions() 642 print_route(opt); in print_ipoptions() 653 print_route(opt); in print_ipoptions() 658 opt[0], len, truncstr, in print_ipoptions() 659 tohex((char *)&opt[2], len - 2)); in print_ipoptions() [all …]
|
/titanic_53/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | ndp.c | 39 static boolean_t verify_opt_len(struct nd_opt_hdr *opt, int optlen, 47 static void incoming_prefix_opt(struct phyint *pi, uchar_t *opt, 49 static void incoming_prefix_onlink(struct phyint *pi, uchar_t *opt); 51 uchar_t *opt); 54 uchar_t *opt, struct sockaddr_in6 *from, 57 struct prefix *pr, uchar_t *opt, 60 static void incoming_mtu_opt(struct phyint *pi, uchar_t *opt, 62 static void incoming_lla_opt(struct phyint *pi, uchar_t *opt, 68 static void verify_prefix_opt(struct phyint *pi, uchar_t *opt, 70 static void verify_mtu_opt(struct phyint *pi, uchar_t *opt, [all …]
|
/titanic_53/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount_008_neg.ksh | 97 for opt in "" "-f"; do 98 log_mustnot eval "$ZFS unmount $opt $ds >/dev/null 2>&1" 112 for opt in "" "-f"; do 113 log_mustnot eval "$ZFS unmount $opt $mpt >/dev/null 2>&1" 119 for opt in "" "-f"; do 120 log_mustnot eval "$ZFS unmount $opt >/dev/null 2>&1" 121 log_mustnot eval "$ZFS unmount $opt $fs $fs1 >/dev/null 2>&1" 126 for opt in "" "-f"; do 127 log_mustnot eval "$ZFS unmount $opt $fs1 >/dev/null 2>&1" 134 for opt in "" "-f"; do [all …]
|
/titanic_53/usr/src/cmd/dfs.cmds/sharectl/ |
H A D | sharectl.c | 212 struct options *opt; in sc_get() local 215 for (opt = optlist; opt != NULL; opt = opt->next) { in sc_get() 226 opt->optname); in sc_get() 229 propsect, opt->optname)) { in sc_get() 237 section : "", opt->optname, in sc_get() 242 opt->optname, in sc_get() 254 opt->optname); in sc_get() 321 struct options *opt; in sc_set() local 324 for (opt = optlist; opt != NULL; opt = opt->next) { in sc_set() 325 if (strncmp("section", opt->optname, 7) == 0) { in sc_set() [all …]
|
/titanic_53/usr/src/test/util-tests/runfiles/ |
H A D | default.run | 26 [/opt/util-tests/tests/printf_test] 27 [/opt/util-tests/tests/allowed-ips] 28 [/opt/util-tests/tests/set-linkprop] 29 [/opt/util-tests/tests/libsff/libsff] 30 [/opt/util-tests/tests/libjedec_test] 31 [/opt/util-tests/tests/smbios] 33 [/opt/util-tests/tests/xargs_test] 35 [/opt/util-tests/tests/mergeq/mqt] 36 [/opt/util-tests/tests/mergeq/wqt] 38 [/opt/util-tests/tests/libnvpair_json]
|
/titanic_53/usr/src/cmd/hal/tools/ |
H A D | hal_set_property.c | 131 const char *opt; in main() local 156 opt = long_options[option_index].name; in main() 158 if (strcmp (opt, "help") == 0) { in main() 161 } else if (strcmp (opt, "key") == 0) { in main() 163 } else if (strcmp (opt, "string") == 0) { in main() 166 } else if (strcmp (opt, "int") == 0) { in main() 169 } else if (strcmp (opt, "uint64") == 0) { in main() 172 } else if (strcmp (opt, "double") == 0) { in main() 175 } else if (strcmp (opt, "bool") == 0) { in main() 185 } else if (strcmp (opt, "strlist-pre") == 0) { in main() [all …]
|
/titanic_53/usr/src/cmd/bnu/ |
H A D | xqt.c | 64 char opt[100]; local 77 (void) sprintf(opt, "-s%s", rmtname); 79 opt[0] = '\0'; 80 (void) execle(UUCICO, "UUCICO", "-r1", opt, (char *) 0, Env); 94 char opt[100]; local 98 (void) sprintf(opt, "-s%s", rmtname); 100 opt[0] = '\0'; 131 (void) execle(UUXQT, "UUXQT", opt, (char *) 0, Env);
|
/titanic_53/usr/src/lib/libsldap/common/ |
H A D | ns_trace.c | 74 struct option *opt; in set_option() local 79 for (opt = options; opt->name; opt++) { in set_option() 80 if (strcasecmp(name, opt->name) == 0) { in set_option() 81 switch (opt->type) { in set_option() 84 *((char **)opt->address) = p; in set_option() 91 *((int *)opt->address) = n; in set_option() 102 *((int *)opt->address) = fd; in set_option()
|
/titanic_53/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_argvec.c | 136 argvec_process_subopt(const mdb_opt_t *opt, const mdb_arg_t *arg) in argvec_process_subopt() argument 159 for (sop = opt->opt_subopts; sop->sop_flag; sop++) { in argvec_process_subopt() 168 warn("invalid option for -%c: \"%s\"\n", opt->opt_char, error); in argvec_process_subopt() 178 *((uint_t *)opt->opt_valp) = value; in argvec_process_subopt() 185 argvec_process_opt(const mdb_opt_t *opt, const mdb_arg_t *arg) in argvec_process_opt() argument 190 switch (opt->opt_type) { in argvec_process_opt() 192 *((uint_t *)opt->opt_valp) |= opt->opt_bits; in argvec_process_opt() 196 *((uint_t *)opt->opt_valp) &= ~opt->opt_bits; in argvec_process_opt() 202 opt->opt_char); in argvec_process_opt() 205 *((const char **)opt->opt_valp) = arg->a_un.a_str; in argvec_process_opt() [all …]
|
/titanic_53/usr/src/lib/libsasl/lib/ |
H A D | config.c | 252 int opt; local 255 for (opt = 0; opt < gctx->nconfiglist; opt++) { 256 if (*key == clist[opt].key[0] && 257 !strcmp(key, clist[opt].key)) 258 return clist[opt].value; 265 int opt; local 267 for (opt = 0; opt < nconfiglist; opt++) { 268 if (*key == configlist[opt].key[0] && 269 !strcmp(key, configlist[opt].key)) 270 return configlist[opt].value;
|
/titanic_53/usr/src/lib/krb5/ss/ |
H A D | options.c | 29 register struct option *opt; local 30 for (opt = options; opt->text; opt++) 31 if (!strcmp(opt->text, string)) 32 return(opt->value);
|
/titanic_53/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_009_neg.ksh | 69 typeset opt 70 for opt in "" "mirror" "raidz" "raidz1"; do 80 create_pool $TESTPOOL $opt $disk 81 log_mustnot $ZPOOL create -f $TESTPOOL1 $opt $disk 85 create_pool $TESTPOOL $opt $disk 86 log_mustnot $ZPOOL create -f $TESTPOOL1 $opt ${DISKS% *} 90 log_mustnot $ZPOOL create -f $TESTPOOL $opt $disk $disk
|
/titanic_53/usr/src/cmd/sgs/libconv/common/ |
H A D | tokens.c | 46 Isa_opt * opt; in conv_isalist() local 76 if ((opt = malloc(no * sizeof (Isa_opt))) == 0) in conv_isalist() 78 desc->isa_opt = opt; in conv_isalist() 88 opt->isa_name = optr; in conv_isalist() 89 opt->isa_namesz = ptr - optr; in conv_isalist() 90 opt++; in conv_isalist() 95 opt->isa_name = optr; in conv_isalist() 96 opt->isa_namesz = ptr - optr; in conv_isalist()
|