Searched refs:tot_len (Results 1 – 3 of 3) sorted by relevance
47 static inline size_t tot_len(ssize_t length) in tot_len() function226 buffer = calloc(tot_len(buf.st_size), 1); in main()252 tot_len(length), buffer); in main()301 buffer = calloc(tot_len(length), 1); in main()303 tot_len(length), buffer); in main()305 crc = stm32f4_crc32(buffer, tot_len(length)); in main()306 if (fwrite(buffer, 1, tot_len(length), file) < tot_len(length)) in main()
279 frame.ip.tot_len = htobe16(sizeof(frame.ip) + sizeof(frame.udp) in ReleaseDhcp4()
178 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + message.size()); in sendRawUdp()