trx.c update for new kernel struct