tb_port_is_nhi
if (tb_port_is_null(port) || tb_port_is_nhi(port)) {
start = tb_port_is_nhi(port) ? 1 : TB_PATH_MIN_HOPID;
if (!tb_port_is_nhi(port) && min_hopid < TB_PATH_MIN_HOPID)
if (tb_port_is_nhi(path->hops[0].in_port))
else if (tb_port_is_nhi(path->hops[path->path_length - 1].out_port))