Home
last modified time | relevance | path

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

/NextBSD/sbin/dhclient/
HDoptions.c452 (main_buffer_size - 7 + ((overload & 1) ? DHCP_FILE_LEN : 0) + in cons_options()
455 (main_buffer_size + ((overload & 1) ? DHCP_FILE_LEN : 0)), in cons_options()
478 main_buffer_size - mainbufix + DHCP_FILE_LEN) in cons_options()
488 if (option_size - bufix <= DHCP_FILE_LEN) { in cons_options()
492 if (mainbufix < DHCP_FILE_LEN) in cons_options()
494 while (mainbufix < DHCP_FILE_LEN) in cons_options()
498 &buffer[bufix], DHCP_FILE_LEN); in cons_options()
499 bufix += DHCP_FILE_LEN; in cons_options()
HDdhcp.h48 #define DHCP_FILE_LEN 128 macro
72 char file[DHCP_FILE_LEN]; /* Boot filename */
HDdhclient.c1116 lease->filename = malloc(DHCP_FILE_LEN + 1); in packet_to_lease()
1122 memcpy(lease->filename, packet->raw->file, DHCP_FILE_LEN); in packet_to_lease()
1123 lease->filename[DHCP_FILE_LEN]='\0'; in packet_to_lease()