Lines Matching refs:option
314 const char **option, const char **value)
323 *option = buf;
330 *value = &buf[strlen(*option) + 1];
341 /* if OACK doesn't contain blksize option, the default (512) must be used */
345 const char *option, *value;
347 tmp = tftp_option_get(tmp, ptr + len - tmp, &option, &value);
353 infof(data, "got option=(%s) value=(%s)\n", option, value);
355 if(checkprefix(option, TFTP_OPTION_BLKSIZE)) {
387 else if(checkprefix(option, TFTP_OPTION_TSIZE)) {
409 char *buf, const char *option)
411 if(( strlen(option) + csize + 1 ) > (size_t)state->blksize)
413 strcpy(buf, option);
414 return( strlen(option) + 1 );
500 /* add tsize option */
512 /* add blksize option */
520 /* add timeout option */
631 /* ACK option acknowledgement so we can move on to data */