Mapping Flow Tables to Hardware