snmp_oct2tc
char *snmp_oct2tc(enum snmp_tc tc, uint32_t len, char *octets);
if ((buf = snmp_oct2tc(tc, len, (char *) octets)) != NULL) {