datapath: Make the datapath responsible for choosing port numbers.