Home
last modified time | relevance | path

Searched refs:size (Results 1 – 7 of 7) sorted by relevance

/net/
A Dbootp.c221 int size = *(ext + 1); in bootp_process_vendor_field() local
270 net_hostname[size] = 0; in bootp_process_vendor_field()
274 if (size == 2) in bootp_process_vendor_field()
277 else if (size == 4) in bootp_process_vendor_field()
292 net_root_path[size] = 0; in bootp_process_vendor_field()
308 net_nis_domain[size] = 0; in bootp_process_vendor_field()
329 u8 *end = ext + size; in bootp_process_vendor()
877 int oplen, size; in dhcp_process_options() local
912 net_hostname[size] = 0; in dhcp_process_options()
920 net_root_path[size] = 0; in dhcp_process_options()
[all …]
A Dnet-common.c8 void copy_filename(char *dst, const char *src, int size) in copy_filename() argument
12 --size; in copy_filename()
15 while ((--size > 0) && src && *src && (*src != '"')) in copy_filename()
A Dpcap.c50 int pcap_init(phys_addr_t paddr, unsigned long size) in pcap_init() argument
52 buf = map_physmem(paddr, size, 0); in pcap_init()
59 (unsigned long)buf, size); in pcap_init()
63 max_size = size; in pcap_init()
A DKconfig52 This defines the size of the statically allocated buffer
53 used for reassembly, and thus an upper bound for the size of
82 int "TFTP window size"
85 Default TFTP window size.
86 RFC7440 defines an optional window size of transmits,
88 The default TFTP implementation implies a window size of 1.
91 bool "Track TFTP transfers based on file size option"
98 size from server, and if supported, limits the progress bar to
263 int "TFTP block size"
266 Default TFTP block size.
A Dtcp.c570 const char *tcpflags_to_str(char tcpflags, char *buf, int size) in tcpflags_to_str() argument
585 strlcat(buf, ",", size); in tcpflags_to_str()
586 strlcat(buf, desc[i].name, size); in tcpflags_to_str()
/net/lwip/
A Dtftp.c32 ulong size; member
68 ctx->size += len; in store_block()
98 print_size(ctx->size / elapsed * 1000, "/s"); in tftp_close()
101 printf("Bytes transferred = %lu (%lx hex)\n", ctx->size, ctx->size); in tftp_close()
103 if (env_set_hex("filesize", ctx->size)) { in tftp_close()
126 static void tftp_error(void *handle, int err, const char *msg, int size) in tftp_error() argument
133 memcpy(message, msg, LWIP_MIN(sizeof(message) - 1, (size_t)size)); in tftp_error()
150 if (ctx->size) in no_response()
177 ctx.size = 0; in tftp_loop()
227 ctx.size); in tftp_loop()
A Dwget.c37 ulong size; member
157 if (wget_info->buffer_size && wget_info->buffer_size < ctx->size + len) in store_block()
176 ctx->size += len; in store_block()
177 if (ctx->size - ctx->prevsize > PROGRESS_PRINT_STEP_BYTES) { in store_block()
180 ctx->prevsize = ctx->size; in store_block()
246 printf("Bytes transferred = %lu (%lx hex)\n", ctx->size, in httpc_result_cb()
247 ctx->size); in httpc_result_cb()
294 ctx.size = 0; in wget_do_request()

Completed in 26 milliseconds