Lines Matching refs:namebuff
324 strcpy(daemon->namebuff, inet_ntoa(context_tmp->start)); in dhcp_reply()
327 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->netmask)); in dhcp_reply()
330 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->end)); in dhcp_reply()
615 if (sanitise(option_find(mess, sz, OPTION_VENDOR_ID, 1), daemon->namebuff)) in dhcp_reply()
617 daemon->namebuff); in dhcp_reply()
618 if (sanitise(option_find(mess, sz, OPTION_USER_CLASS, 1), daemon->namebuff)) in dhcp_reply()
620 daemon->namebuff); in dhcp_reply()
806 addrs, print_mac(daemon->namebuff, mac, len)); in dhcp_reply()
975 print_mac(daemon->namebuff, ltmp->hwaddr, ltmp->hwaddr_len), in dhcp_reply()
1235 print_mac(daemon->namebuff, ext_mac, mac_len); in log_packet()
1239 … addr ? inet_ntoa(a) : "", addr ? " " : "", daemon->namebuff, string ? string : ""); in log_packet()
1242 addr ? " " : "", daemon->namebuff, string ? string : ""); in log_packet()
1252 for (daemon->namebuff[0] = 0, i = 0; i <= trunc - INADDRSZ; i += INADDRSZ) { in log_options()
1253 if (i != 0) strncat(daemon->namebuff, ", ", 256 - strlen(daemon->namebuff)); in log_options()
1254 strncat(daemon->namebuff, inet_ntoa(option_addr_arr(start, i)), in log_options()
1255 256 - strlen(daemon->namebuff)); in log_options()
1257 else if (!is_name || !sanitise(start, daemon->namebuff)) { in log_options()
1259 print_mac(daemon->namebuff, option_ptr(start, 0), trunc); in log_options()
1264 trunc == 0 ? "" : " ", trunc == 0 ? "" : daemon->namebuff, in log_options()
1373 char* s = daemon->namebuff; in dhcp_packet_size()
1764 char* q = daemon->namebuff; in do_options()
1767 q += snprintf(q, MAXDNAME - (q - daemon->namebuff), "%d%s%s%s", req_options[i], in do_options()
1769 if (req_options[i + 1] == OPTION_END || (q - daemon->namebuff) > 40) { in do_options()
1770 q = daemon->namebuff; in do_options()
1772 daemon->namebuff); in do_options()