Lines Matching defs:size
498 "Usage: %s [-a addr] [-b [num,]size] [-e text] [-f file] [-l loss]\n"
503 "\t\t[-T token] [-U] [-V num] [-X size]\n"
511 "\t-b [num,]size\tBlock size to be used in GET/PUT/POST requests\n"
565 "\t-X size\t\tMaximum message size to use for TCP based connections\n"
868 uint16_t size;
871 size = 0;
873 size = size * 10 + (*arg++ - '0');
877 block.num = size;
878 if (size != 0) {
885 if (size < 16) {
886 coap_log_warn("Minimum block size is 16\n");
888 } else if (size > 1024) {
889 coap_log_warn("Maximum block size is 1024\n");
891 } else if ((size % 16) != 0) {
892 coap_log_warn("Block size %u is not a multiple of 16\n", size);
895 if (size)
896 block.szx = (coap_fls(size >> 4) - 1) & 0x07;
1065 * of size @p length to @p buf. The caller of this function must
1214 /* len is the size or less, so 0 terminate to maxlen */
1566 bind_addr.size = dst->size;