Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dlease.c154 static void ourprintf(int* errp, char* format, ...) { in ourprintf() function
174 ourprintf(&err, "%u ", lease->length); in lease_update_file()
176 ourprintf(&err, "%lu ", (unsigned long) lease->expires); in lease_update_file()
179 ourprintf(&err, "%.2x-", lease->hwaddr_type); in lease_update_file()
181 ourprintf(&err, "%.2x", lease->hwaddr[i]); in lease_update_file()
182 if (i != lease->hwaddr_len - 1) ourprintf(&err, ":"); in lease_update_file()
185 ourprintf(&err, " %s ", inet_ntoa(lease->addr)); in lease_update_file()
186 ourprintf(&err, "%s ", lease->hostname ? lease->hostname : "*"); in lease_update_file()
189 for (i = 0; i < lease->clid_len - 1; i++) ourprintf(&err, "%.2x:", lease->clid[i]); in lease_update_file()
190 ourprintf(&err, "%.2x\n", lease->clid[i]); in lease_update_file()
[all …]