Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4_internal.h40 #define SIZE_OF_FILE 128 macro
83 SIZE_OF_SNAME + SIZE_OF_FILE + \
Ddhcpv4_server.c500 return dhcpv4_encode_string(buf, buflen, file, SIZE_OF_FILE); in dhcpv4_encode_file()
1448 if (datalen < (SIZE_OF_SNAME + SIZE_OF_FILE + SIZE_OF_MAGIC_COOKIE)) { in dhcpv4_process_data()
1452 data += SIZE_OF_SNAME + SIZE_OF_FILE + SIZE_OF_MAGIC_COOKIE; in dhcpv4_process_data()
1453 datalen -= SIZE_OF_SNAME + SIZE_OF_FILE + SIZE_OF_MAGIC_COOKIE; in dhcpv4_process_data()
Ddhcpv4.c216 if (net_pkt_memset(pkt, 0, SIZE_OF_FILE)) { in dhcpv4_add_file()
1529 if (net_pkt_skip(pkt, SIZE_OF_SNAME + SIZE_OF_FILE)) { in net_dhcpv4_input()
/Zephyr-latest/tests/net/dhcpv4/server/src/
Dmain.c151 uint8_t empty_buf[SIZE_OF_FILE] = { 0 }; in client_prepare_test_msg()
187 net_pkt_write(pkt, empty_buf, SIZE_OF_FILE); in client_prepare_test_msg()
556 ret = net_pkt_skip(pkt, SIZE_OF_SNAME + SIZE_OF_FILE); in verify_offer()
739 ret = net_pkt_skip(pkt, SIZE_OF_SNAME + SIZE_OF_FILE); in verify_ack()