datapath: Use constants instead of actual values.