adding linux support for host_entry method