• Home
  • Raw
  • Download

Lines Matching refs:namebuff

350 	  strcpy(daemon->namebuff, inet_ntoa(context_tmp->start));  in dhcp_reply()
353 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->netmask)); in dhcp_reply()
356 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->end)); in dhcp_reply()
695 if (sanitise(option_find(mess, sz, OPTION_VENDOR_ID, 1), daemon->namebuff)) in dhcp_reply()
696 my_syslog(MS_DHCP | LOG_INFO, _("%u Vendor class: %s"), ntohl(mess->xid), daemon->namebuff); in dhcp_reply()
697 if (sanitise(option_find(mess, sz, OPTION_USER_CLASS, 1), daemon->namebuff)) in dhcp_reply()
698 my_syslog(MS_DHCP | LOG_INFO, _("%u User class: %s"), ntohl(mess->xid), daemon->namebuff); in dhcp_reply()
907 addrs, print_mac(daemon->namebuff, mac, len)); in dhcp_reply()
1095 print_mac(daemon->namebuff, ltmp->hwaddr, ltmp->hwaddr_len), in dhcp_reply()
1395 print_mac(daemon->namebuff, ext_mac, mac_len); in log_packet()
1404 daemon->namebuff, in log_packet()
1412 daemon->namebuff, in log_packet()
1425 for (daemon->namebuff[0]= 0, i = 0; i <= trunc - INADDRSZ; i += INADDRSZ) in log_options()
1428 strncat(daemon->namebuff, ", ", 256 - strlen(daemon->namebuff)); in log_options()
1429 … strncat(daemon->namebuff, inet_ntoa(option_addr_arr(start, i)), 256 - strlen(daemon->namebuff)); in log_options()
1431 else if (!is_name || !sanitise(start, daemon->namebuff)) in log_options()
1435 print_mac(daemon->namebuff, option_ptr(start, 0), trunc); in log_options()
1442 trunc == 0 ? "" : daemon->namebuff, in log_options()
1568 char *s = daemon->namebuff; in dhcp_packet_size()
2039 char *q = daemon->namebuff; in do_options()
2043 q += snprintf(q, MAXDNAME - (q - daemon->namebuff), in do_options()
2049 if (req_options[i+1] == OPTION_END || (q - daemon->namebuff) > 40) in do_options()
2051 q = daemon->namebuff; in do_options()
2052 … my_syslog(MS_DHCP | LOG_INFO, _("%u requested options: %s"), ntohl(mess->xid), daemon->namebuff); in do_options()