set next-hop based on source/dest port?

Does anyone know of a router vendor that can reset ip next-hops
(not bgp routes, but ip packets) based on source/dest tcp ports?

Thanks,

Avi