Searched refs:optsp (Results 1 – 3 of 3) sorted by relevance
127 print_options(unsigned int optsnr, uint16_t *optsp) in print_options() argument133 printf("%d", (optsp[i] & 0xFF00) >> 8); in print_options()135 if ((optsp[i] & 0x00FF) != 0x00FF) in print_options()136 printf(":%d", (optsp[i] & 0x00FF)); in print_options()
119 print_options(unsigned int optsnr, uint16_t *optsp) in print_options() argument125 printf("%d", (optsp[i] & 0xFF00)>>8); in print_options()126 if ((optsp[i] & 0x00FF) != 0x00FF){ in print_options()127 printf(":%d", (optsp[i] & 0x00FF)); in print_options()
259 static int add_option(char **optsp, const char *opt, unsigned expand) in add_option() argument262 if (*optsp == NULL) in add_option()265 unsigned oldsize = strlen(*optsp); in add_option()267 newopts = (char *) realloc(*optsp, newsize); in add_option()275 *optsp = newopts; in add_option()