Lines Matching refs:max
24 char *DhcpState::toString(int val, char *buffer, int max) { in toString() argument
26 strncpy(buffer, "INIT", max); in toString()
28 strncpy(buffer, "DISCOVERING", max); in toString()
30 strncpy(buffer, "REQUESTING", max); in toString()
32 strncpy(buffer, "BOUND", max); in toString()
34 strncpy(buffer, "RENEWING", max); in toString()
36 strncpy(buffer, "REBINDING", max); in toString()
38 strncpy(buffer, "REBOOT", max); in toString()
40 strncpy(buffer, "RENEW_REQUESTED", max); in toString()
42 strncpy(buffer, "INIT_IPV4LL", max); in toString()
44 strncpy(buffer, "PROBING", max); in toString()
46 strncpy(buffer, "ANNOUNCING", max); in toString()
48 strncpy(buffer, "(internal error)", max); in toString()