multipath: use foreign API