/illumos-gate/usr/src/cmd/avs/sv/ |
H A D | svadm.c | 430 int opt, Cflag, fflag, iflag; local 443 while ((opt = getopt(argc, argv, "C:def:hirv")) != EOF) { 444 switch (opt) {
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucleanup.c | 388 char file1[BUFSIZ], file2[BUFSIZ], file3[BUFSIZ], type[2], opt[256]; local 424 user, opt, file3) <5) { 484 char file1[BUFSIZ], file2[BUFSIZ], file3[BUFSIZ], type[2], opt[256]; local 520 user, opt, file3) <5) {
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_ip.c | 152 DHCP_OPT *opt; local 191 opt = dhcp_ipc_get_data(reply, &opt_len, NULL); 198 if (opt_len < 2 || (opt_len -2 != opt->len)) { 205 value = inittab_decode(entry, opt->value, opt_len, B_TRUE);
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | agent.c | 762 void *opt = NULL; local 793 opt = dhcpv6_pkt_option(ack, NULL, optnum.code, 797 opt = ack->opts[optnum.code]; 830 opt = dhcpv6_find_option( 844 opt = ack->vs[optnum.code]; 867 opt = malloc(sizeof (*d6o) + optnum.size); 868 if (opt != NULL) { 869 d6o = opt; 883 opt = malloc(optnum.size + 2); 884 if (opt ! [all...] |
H A D | packet.c | 386 update_v6opt_len(dhcpv6_option_t *opt, int adjust) argument 390 (void) memcpy(&optval, opt, sizeof (optval)); 396 (void) memcpy(opt, &optval, sizeof (optval));
|
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/ |
H A D | edquota.c | 111 int opt; local 141 while ((opt = getopt(argc, argv, "p:tV")) != EOF) 142 switch (opt) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 147 * Find opt in mntopt 150 findopt(char *mntopt, char *opt) argument 152 int nc, optlen = strlen(opt); 156 if (strncmp(mntopt, opt, nc) == 0) 416 char opt[MAX_MNTOPT_STR]; local 418 char *opts = opt; 511 (void) strcpy(opt, opt2); 512 opts = opt; 616 eatmntopt(struct mnttab *mnt, char *opt) argument 620 has = (findopt(mnt->mnt_mntopts, opt) ! 629 rmopt(struct mnttab *mnt, char *opt) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 154 int opt; local 161 while ((opt = getopt(argc, argv, "ao:i:s")) != EOF) { 162 switch (opt) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/ |
H A D | quot.c | 123 int opt; local 133 while ((opt = getopt(argc, argv, "nfcvhaV")) != EOF) { 134 switch (opt) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 133 int opt; local 158 while ((opt = getopt(argc, argv, "vV")) != EOF) { 159 switch (opt) { 737 * Return 1 if opt appears in optlist 740 hasopt(char *opt, char *optlist) argument 745 opts[0] = opt;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 129 int opt; local 136 while ((opt = getopt(argc, argv, "vapVf")) != EOF) { 137 switch (opt) { 771 hasvfsopt(struct vfstab *vfs, char *opt) argument 785 if (strncmp(opt, f, strlen(opt)) == 0)
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 84 static int cpp_opt_append(char *opt, char *arg); 492 cpp_opt_append(char *opt, char *arg) argument 499 opt_len = ((NULL == opt) ? 0 : strlen(opt)); 503 if (NULL != opt) { 504 (void) memcpy(new_opt, opt, opt_len + 1);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | ovsec_kadmd.c | 432 struct opthdr *opt; local 714 opt = (struct opthdr *) reqbuf; 715 opt->level = SOL_SOCKET; 716 opt->name = SO_REUSEADDR; 717 opt->len = sizeof (int); 728 req.opt.len = sizeof (struct opthdr) + opt->len; 729 req.opt.buf = (char *) opt; 732 resp.opt [all...] |
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_proc.c | 295 * Return TRUE if we get a valid opt and update flags appro. 298 cmp_renew_opts(char *opt, argument 303 if (strncasecmp(opt, "log", 306 } else if (strncasecmp(opt, "log-success", 309 } else if (strncasecmp(opt, "log-failure", 314 printf("cmp_renew_opts: renew bad opt=`%s'\n", 315 opt ? opt : "null"); 453 /* we just have one opt */
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 132 uchar_t *opt; local 158 opt = (uchar_t *)&ipha[1]; 160 switch (optval = opt[IPOPT_OPTVAL]) { 169 optlen = opt[IPOPT_OLEN]; 182 opt[TSOL_CIPSO_TAG_OFFSET] == 1) { 184 *buffer = opt; 190 opt += optlen;
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | optcom.c | 192 struct opthdr *opt; local 257 opt = (struct opthdr *)&toa[1]; 266 opt->level = optd->opdes_level; 267 opt->name = optd->opdes_name; 269 ((len = (*deffn)(q, opt->level, 270 opt->name, (uchar_t *)&opt[1])) < 0)) { 287 *(int32_t *)&opt[1] = 291 *(int16_t *)&opt[1] = 295 *(int8_t *)&opt[ 638 struct T_opthdr *opt; local 861 struct T_opthdr *opt; local 1524 struct T_opthdr *opt, *opt_start, *opt_end; local [all...] |
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | dhcpv4.c | 107 parameter_request_list(uint8_t **opt) argument 122 if (opt && *opt) { 123 bcopy(prlist, *opt, sizeof (prlist)); 124 *opt += sizeof (prlist); 132 set_hw_spec_data(PKT *p, uint8_t **opt, uint8_t *pkttype) argument 156 if (opt && *opt) { 195 bcopy(dhcp_classid, *opt, dhcp_classid[1] + 2); 196 *opt 600 uint8_t *opt, ulen; local 654 uint8_t *opt; local 713 uint8_t *opt; local [all...] |
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | sock_test.c | 792 st_match_option(char *opt_s, int *opt, int *opt_level) argument 798 *opt = so_option_array[i].so_opt; 811 int opt, opt_level, opt_val; local 822 if (st_match_option(tmp, &opt, &opt_level) < 0) { 833 if (st_local_setsockopt(g_sock_fd, opt_level, opt, &opt_val, 868 int opt, opt_level, opt_val; local 880 if (st_match_option(tmp, &opt, &opt_level) < 0) { 885 if (st_local_getsockopt(g_sock_fd, opt_level, opt, &opt_val,
|
/illumos-gate/usr/src/lib/libbc/inc/include/nettli/ |
H A D | tiuser.h | 129 struct netbuf opt; member in struct:t_optmgmt 147 struct netbuf opt; /* options */ member in struct:t_call 157 struct netbuf opt; /* options */ member in struct:t_unitdata 166 struct netbuf opt; /* options */ member in struct:t_uderr
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | startd.c | 1006 int opt; local 1037 while ((opt = getopt(argc, argv, "nrs")) != EOF) { 1038 switch (opt) {
|
/illumos-gate/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, 109 uchar_t *opt; local 290 struct nd_opt_hdr *opt; local 436 struct nd_opt_hdr *opt; local 591 incoming_prefix_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback) argument 642 incoming_prefix_onlink(struct phyint *pi, uchar_t *opt) argument 676 incoming_prefix_onlink_process(struct prefix *pr, uchar_t *opt) argument 726 incoming_prefix_stateful(struct phyint *pi, uchar_t *opt) argument 793 incoming_prefix_addrconf(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback) argument 887 incoming_prefix_addrconf_process(struct phyint *pi, struct prefix *pr, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback, boolean_t new_prefix) argument 1150 incoming_mtu_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from) argument 1206 incoming_lla_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, int isrouter) argument 1271 struct nd_opt_hdr *opt; local 1350 verify_prefix_opt(struct phyint *pi, uchar_t *opt, char *frombuf) argument 1464 verify_mtu_opt(struct phyint *pi, uchar_t *opt, char *frombuf) argument 1491 verify_opt_len(struct nd_opt_hdr *opt, int optlen, struct phyint *pi, struct sockaddr_in6 *from) argument [all...] |
/illumos-gate/usr/src/cmd/ptools/pfiles/ |
H A D | pfiles.c | 81 int opt; local 91 while ((opt = getopt(argc, argv, "Fn")) != EOF) { 92 switch (opt) { 619 int opt; member in struct:boolopt 644 if (pr_getsockopt(Pr, fd, boolopts[i].level, boolopts[i].opt,
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 191 char opt[MAX_MNTOPT_STR]; local 259 if (mdb_readstr(opt, sizeof (opt), 271 mdb_printf("%s", opt); 273 if (mdb_readstr(opt, sizeof (opt), 279 mdb_printf("=%s", opt); 300 if (mdb_readstr(opt, sizeof (opt), 310 mdb_printf("zone=%s", opt); [all...] |
/illumos-gate/usr/src/cmd/ptools/pmadvise/ |
H A D | pmadvise.c | 940 int opt, subopt; local 978 while ((opt = getopt(argc, argv, "Flo:v")) != EOF) { 979 switch (opt) {
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 331 bam_loader_menu(char *subcmd, char *opt, int largc, char *largv[]) argument 353 ret = check_subcmd_and_options(subcmd, opt, menu_subcmds, &f); 364 assert(opt); 366 osdev = strtok(opt, ","); 457 opt = largv[0]; 472 ret = f(&menu, menu_path, opt); 531 ret = f(&menu, NULL, opt); 563 set_option(struct menu_lst *menu, char *dummy, char *opt) argument 575 assert(opt); 578 val = strchr(opt, ' 928 list_entry(struct menu_lst *menu, char *menu_root, char *opt) argument 1013 update_temp(struct menu_lst *menu, char *dummy, char *opt) argument 1200 disable_hyper(struct menu_lst *menu, char *osroot, char *opt) argument 1211 enable_hyper(struct menu_lst *menu, char *osroot, char *opt) argument [all...] |