on_discarded
void (*on_discarded)(void *arg);
pkt->on_discarded(pkt->cb_arg); /* may free pkt */
pkt->ackm_pkt.on_discarded = on_discarded;
tx->on_discarded = on_discarded;
tx->on_discarded = on_discarded;
tx->on_discarded = on_discarded;