removed port_t; now it uses in_port_t