Home | History | Annotate | Download | only in extensions

Lines Matching refs:opts

20 "  --hbh-opts TYPE[:LEN][,TYPE[:LEN]...] \n"
29 {.name = "hbh-opts", .id = O_HBH_OPTS, .type = XTTYPE_STRING},
58 parse_options(const char *optsstr, uint16_t *opts)
77 opts[i] = (parse_opts_num(cp, "opt") & 0xFF) << 8;
79 if (opts[i] == 0)
81 opts[i] |= parse_opts_num(range, "length") & 0xFF;
83 opts[i] |= (0x00FF);
87 printf("opts str: %s %s\n", cp, range);
88 printf("opts opt: %04X\n", opts[i]);
113 optinfo->optsnr = parse_options(cb->arg, optinfo->opts);
144 if (optinfo->flags & IP6T_OPTS_OPTS) printf(" opts");
145 print_options(optinfo->optsnr, (uint16_t *)optinfo->opts);
162 printf(" --hbh-opts");
163 print_options(optinfo->optsnr, (uint16_t *)optinfo->opts);