cuda_iplookup: add HOST code