target_to_unit
unit = target_to_unit(-1, unit, 0);
static int target_to_unit(u_long, u_long, u_long);