Lines Matching refs:opts
18 " --dst-opts TYPE[:LEN][,TYPE[:LEN]...]\n"
27 {.name = "dst-opts", .id = O_DSTOPTS, .type = XTTYPE_STRING},
56 parse_options(const char *optsstr, uint16_t *opts)
81 opts[i] = (parse_opts_num(cp, "opt") & 0xFF) << 8;
83 if (opts[i] == 0)
86 opts[i] |= parse_opts_num(range, "length") & 0xFF;
88 opts[i] |= (0x00FF);
91 printf("opts str: %s %s\n", cp, range);
92 printf("opts opt: %04X\n", opts[i]);
115 optinfo->optsnr = parse_options(cb->arg, optinfo->opts);
149 printf(" opts");
151 print_options(optinfo->optsnr, (uint16_t *)optinfo->opts);
169 printf(" --dst-opts");
171 print_options(optinfo->optsnr, (uint16_t *)optinfo->opts);