Flow routing in computer networks