Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/
Dtftp.c195 char block_buf[516]; member
923 G.block_buf, sizeof(G.block_buf) + 1, in tftpd_main()
929 opcode = ntohs(*(uint16_t*)G.block_buf); in tftpd_main()
930 if (result < 4 || result > sizeof(G.block_buf) in tftpd_main()
946 local_file = G.block_buf + 2; in tftpd_main()
953 if (mode >= G.block_buf + result || strcasecmp(mode, "octet") != 0) { in tftpd_main()
961 int opt_len = G.block_buf + result - opt_str; in tftpd_main()
/busybox-1.35.0/archival/
Dtar.c135 #define block_buf bb_common_bufsiz1 macro
564 memset(block_buf, 0, readSize); in writeFileToTarball()
565 xwrite(tbInfo->tarFd, block_buf, readSize); in writeFileToTarball()
684 memset(block_buf, 0, 2*TAR_BLOCK_SIZE); in writeTarFile()
685 xwrite(tbInfo->tarFd, block_buf, 2*TAR_BLOCK_SIZE); in writeTarFile()