parse_port
static int parse_port(char *opt_str, int *output_interface)
unsigned int parse_port(const char *str)