lpm: merge tbl24 and tbl8 structures