Home
last modified time | relevance | path

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

/freebsd/libexec/tftpd/tests/
H A Dfunctional.c64 #define RECV(hdr, contents, contents_len) do { \ argument
73 require_bufeq((const char *) (contents), (contents_len), \
105 recv_data(uint16_t blocknum, const char *contents, size_t contents_len) in recv_data() argument
108 RECV(hdr, contents, contents_len); in recv_data()
131 send_data(uint16_t blocknum, const char *contents, size_t contents_len) in send_data() argument
139 memmove(&buffer[4], contents, contents_len); in send_data()
140 send_bytes(buffer, 4 + contents_len); in send_data()
843 size_t contents_len; variable
845 contents_len = strlen(contents) + 1;
848 send_data(1, contents, contents_len);
[all …]