Lines Matching defs:options
76 static struct options {
80 } options[] = {
554 * Add TFTP options to a request packet.
563 for (i = 0; options[i].opt_name != NULL; i++) {
564 ostr = options[i].opt_str();
566 cp += strlcpy(cp, options[i].opt_name, obufend - cp)
580 * Process OACK packet sent by server in response to options in the request
600 for (i = 0; options[i].opt_name != NULL; i++) {
601 if (strcasecmp(optname, options[i].opt_name) == 0)
604 if (options[i].opt_name == NULL)
606 errcode = options[i].opt_handler(optval);
678 (void) printf(", options: ");
694 (void) printf("<options: ");