Move get_src_port() to tunnel.c