ipfw: Factor out fucntion to setup local variables.