Searched refs:snmp_dbuf (Results 1 – 1 of 1) sorted by relevance
87 static char *snmp_dbuf = NULL; /* the debug buffer */ variable166 if (snmp_dbuf == NULL) in snmp_debug_init()599 snmp_dbuf_curp = snmp_dbuf; in snmp_dbuf_realloc()603 if (snmp_dbuf) { in snmp_dbuf_realloc()604 offset = snmp_dbuf_curp - snmp_dbuf; in snmp_dbuf_realloc()605 (void) memcpy(p, snmp_dbuf, snmp_dbuf_sz); in snmp_dbuf_realloc()606 free(snmp_dbuf); in snmp_dbuf_realloc()609 snmp_dbuf = p; in snmp_dbuf_realloc()612 snmp_dbuf_curp = snmp_dbuf + offset; in snmp_dbuf_realloc()613 snmp_dbuf_tail = snmp_dbuf + snmp_dbuf_sz; in snmp_dbuf_realloc()